|
-
Feb 23rd, 2000, 07:05 AM
#1
Thread Starter
Hyperactive Member
ok, we (cintel) can use winsock, and have it working in a chat program..
but we're using it in our game, and no matter what we do, something is going wrong, and the data isnt sent properly.
is there a "maximum speed" for winsock - is it possible the buffer is being overfilled or something?
the game doesnt crash, its just no data seems to be sending.
help needed!
buzzwords are the language of fools
-
Feb 23rd, 2000, 05:22 PM
#2
only limitation i know is that you can only hold 49 connections with the winsock ocx.
what protocoll you are using ? udp or tcp/ip ?
taLON
-
Feb 23rd, 2000, 09:53 PM
#3
Addicted Member
I had a problem using winsock that was when I sent two "messages" in two consecutive code lines it arrived in the server in one same getdata.
I had to split the data into to strings.
-
Feb 23rd, 2000, 10:59 PM
#4
Why not using a trick with a bof and a eof
example:
Client will send two scripts strings to the server.
string1 = "BOF|checkdata|EOF|" 'client will send now
string2 = "BOF|checktime|EOF|" 'client will send now
the server will get the data.
string = "BOF|checkdata|EOF|BOF|checktime|EOF|"
and now you can split the string and you can see now if it is 1 string or 2 ext. feel creative with it.
this is just a fast example 
-kayoca
-
Feb 24th, 2000, 04:09 AM
#5
Thread Starter
Hyperactive Member
yeah we're doing that already - parsing the strings.
we're using tcp/ip
it might work now, because there was a bug before
buzzwords are the language of fools
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|