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

Delta Between Two Patch Sets: src/pkg/net/fd_windows.go

Issue 1600041: code review 1600041: net: initial attempt to implement windows version (Closed)
Left Patch Set: code review 1600041: net: initial attempt to implement windows version Created 14 years, 9 months ago
Right Patch Set: code review 1600041: net: initial attempt to implement windows version Created 14 years, 9 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « src/pkg/net/Makefile ('k') | src/pkg/syscall/mksyscall_windows.sh » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(Both sides are equal)
1 // Copyright 2010 The Go Authors. All rights reserved. 1 // Copyright 2010 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style 2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file. 3 // license that can be found in the LICENSE file.
4 4
5 package net 5 package net
6 6
7 import ( 7 import (
8 "once" 8 "once"
9 "os" 9 "os"
10 "sync" 10 "sync"
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 return f, nil 359 return f, nil
360 } 360 }
361 361
362 func init() { 362 func init() {
363 var d syscall.WSAData 363 var d syscall.WSAData
364 e := syscall.WSAStartup(uint32(0x101), &d) 364 e := syscall.WSAStartup(uint32(0x101), &d)
365 if e != 0 { 365 if e != 0 {
366 initErr = os.NewSyscallError("WSAStartup", e) 366 initErr = os.NewSyscallError("WSAStartup", e)
367 } 367 }
368 } 368 }
LEFTRIGHT

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