01-27-2006, 10:29 AM
This is a really weird problem..
I can't use Multikey or Inkey$ with WinSock, but ofcourse, it works when I'm not using WinSock..
It simply doesnt register the keypresses, nothing happens when I press a key...
I get a few "Passing different pointer types" errors and a "Implicit conversion" error...
"Passing different pointer types, at parameter: 2":
"Implicit conversion"
"Passing different pointer types, at parameter: 2"
"Passing different pointer types, at parameter: 2"
Does anyone have a clue as to what the problem could be? Or am I forced to use SDL_net instead?
Thanks for your help!
I can't use Multikey or Inkey$ with WinSock, but ofcourse, it works when I'm not using WinSock..
It simply doesnt register the keypresses, nothing happens when I press a key...
I get a few "Passing different pointer types" errors and a "Implicit conversion" error...
"Passing different pointer types, at parameter: 2":
Code:
If (bind(serversocket.asock, @serversocket.sockaddr, sizeof(serversocket.sockaddr)) = SOCKET_ERROR) Then
"Implicit conversion"
Code:
tempSocket = SOCKET_ERROR
"Passing different pointer types, at parameter: 2"
Code:
tempSocket = accept(serversocket.asock, @serversocket.sockaddr, @length)
"Passing different pointer types, at parameter: 2"
Code:
If (connect(client.asock, @client.sockaddr, sizeof(client.sockaddr)) = SOCKET_ERROR) Then
Does anyone have a clue as to what the problem could be? Or am I forced to use SDL_net instead?
Thanks for your help!
It's the difference between asking someone how much flour goes into pancakes, and handing them a sorry mix of oozing green goo and asking them to fix it." - Deleter
-Founder & President of the No More Religion Threads movement-
-Founder & President of the No More Religion Threads movement-