mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +00:00
Added WSAStartup.
svn path=/trunk/; revision=10852
This commit is contained in:
parent
c7f278a12e
commit
dff481387d
1 changed files with 3 additions and 0 deletions
|
@ -183,6 +183,9 @@ int main( int argc, char **argv ) {
|
|||
struct timeval tv;
|
||||
struct sockaddr_in addr_from = { AF_INET }, addr_to;
|
||||
std::list<std::string>::iterator i;
|
||||
WSADATA wsadata;
|
||||
|
||||
WSAStartup( 0x101, &wsadata );
|
||||
|
||||
if( argc > 1 ) port = atoi(argv[1]);
|
||||
|
||||
|
|
Loading…
Reference in a new issue