Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(251)

Issue 5491044: code review 5491044: net: expose the underlying network file descripor of th... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 1 month ago by mikio
Modified:
14 years, 1 month ago
Visibility:
Public.

Description

net: expose the underlying network file descripor of the Conn New struct ConnFD represents the underlying network file descriptor for bridging between net package and other packages which may want to control IPv4, IPv6 layer control plane stuff by using IPPROTO_IP, IPPROTO_IPV6 level socket options. Also added ConnFD method to TCPConn, UDPConn, IPConn and SysFD method to ConnFD.

Patch Set 1 : diff -r 533d76fb35b1 https://go.googlecode.com/hg/ #

Patch Set 2 : diff -r 533d76fb35b1 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r f624d7f32d22 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -28 lines) Patch
M src/pkg/net/Makefile View 6 chunks +33 lines, -28 lines 0 comments Download
M src/pkg/net/fd.go View 1 chunk +5 lines, -0 lines 0 comments Download
M src/pkg/net/iprawsock_posix.go View 1 chunk +3 lines, -0 lines 0 comments Download
A src/pkg/net/sock_unix.go View 1 chunk +17 lines, -0 lines 0 comments Download
M src/pkg/net/sock_windows.go View 1 chunk +8 lines, -0 lines 0 comments Download
M src/pkg/net/tcpsock_posix.go View 1 chunk +3 lines, -0 lines 0 comments Download
M src/pkg/net/udpsock_posix.go View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 7
mikio
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
14 years, 1 month ago (2011-12-15 05:02:13 UTC) #1
mikio
On Thu, Dec 15, 2011 at 2:02 PM, <mikioh.mikioh@gmail.com> wrote: > New struct ConnFD reprents ...
14 years, 1 month ago (2011-12-15 05:56:34 UTC) #2
albert.strasheim
On 2011/12/15 05:02:13, mikioh wrote: > Hello mailto:golang-dev@googlegroups.com, > > I'd like you to review ...
14 years, 1 month ago (2011-12-15 06:37:52 UTC) #3
mikio
On Thu, Dec 15, 2011 at 3:37 PM, <fullung@gmail.com> wrote: > An alternative would be ...
14 years, 1 month ago (2011-12-15 07:05:16 UTC) #4
rsc
If this were going to go in, it should be like in os: Fd() int ...
14 years, 1 month ago (2011-12-15 16:52:04 UTC) #5
bradfitz
I agree with the fear. I also fear that it'll lead to weird bug reports ...
14 years, 1 month ago (2011-12-15 17:44:54 UTC) #6
mikio
14 years, 1 month ago (2011-12-16 00:26:37 UTC) #7
*** Abandoned ***
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b