diff options
author | 2001-05-20 12:58:41 +0000 | |
---|---|---|
committer | 2001-05-20 12:58:41 +0000 | |
commit | d0970ce743caabb185362728cefcc0ef4b49712d (patch) | |
tree | bdffd21336c3f4faccf331e0468c28dc9e0d0e2a /network.h | |
parent | fffaf83e4b3397dcef2f984b365541b9ed7752d7 (diff) |
Included "netdb.h" file needed.
Changed exit to return -1.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@842 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'network.h')
-rw-r--r-- | network.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/network.h b/network.h new file mode 100644 index 0000000000..63fadbd00e --- /dev/null +++ b/network.h @@ -0,0 +1,7 @@ +#ifndef NETWORK_H +#define NETWORK_H + + +int connect2Server(char *host, int port); + +#endif |