You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Create a UDP socket
2. send a 0 byte datagram
var b [1]byte;
conn,err := net.DialUDP("udp", nil, raddr);
...
conn.Write(b[0:0]);
/* conn.WriteToUDP(b[0:0],raddr); // This works */
What is the expected output? What do you see instead?
It is expected that a 0 byte datagram is sent.
The 0 byte datagram is not sent. note: WriteToUDP works posixally correctly
(in this case a 0 byte datagram is sent).
What is your $GOOS? $GOARCH?
linux, amd64
Which revision are you sync'ed to? (hg log -l 1)
changeset: 4150:cb559bd8a773
tag: tip
user: Robert Griesemer <gri@golang.org>
date: Thu Nov 19 00:04:30 2009 -0800
summary: bug219: parsing difficulties with 6g
Please provide any additional information below.
The text was updated successfully, but these errors were encountered:
by jonathan.r.hudson:
The text was updated successfully, but these errors were encountered: