Skip to content
Snippets Groups Projects
Commit feaa7eca authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Added missing arguments to open_socket().

Rev: lib/modules/Stdio.pmod:1.17
parent 8fbb3642
No related branches found
No related tags found
No related merge requests found
...@@ -22,10 +22,10 @@ class File ...@@ -22,10 +22,10 @@ class File
return ::open(file,mode,bits); return ::open(file,mode,bits);
} }
int open_socket() int open_socket(int|void port, string|void address)
{ {
_fd=Fd(); _fd=Fd();
return ::open_socket(); return ::open_socket(port, address);
} }
int connect(string host, int port) int connect(string host, int port)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment