s/socket_tcp/socket_tcp4/
This commit is contained in:
@@ -27,7 +27,7 @@ it returns -1 and sets errno appropriately.
|
||||
uint16 \fIp\fR;
|
||||
int \fIfd\fR = open_read("/etc/passwd");
|
||||
|
||||
\fIs\fR = socket_tcp();
|
||||
\fIs\fR = socket_tcp4();
|
||||
socket_connect4(s,ip,p);
|
||||
socket_sendfile(s,fd,0,23);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user