s/socket_tcp/socket_tcp4/
This commit is contained in:
@@ -23,7 +23,7 @@ it returns -1 and sets errno appropriately.
|
||||
char \fIip\fR[4];
|
||||
uint16 \fIp\fR;
|
||||
|
||||
\fIs\fR = socket_tcp();
|
||||
\fIs\fR = socket_tcp4();
|
||||
socket_bind4(s,ip,p);
|
||||
socket_send4(s,"hello, world",12,ip,p);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user