Mirage Source
http://web.miragesource.net/forums/

Winsock Help, Data combindes when sent!
http://web.miragesource.net/forums/viewtopic.php?f=201&t=115
Page 1 of 29

Author:  dragoon [ Tue Jun 06, 2006 3:06 am ]
Post subject:  Winsock Help, Data combindes when sent!

I realise this is not a problem in MS, but I like to make winsock applications, And this is really bothering me!
Messages join and what would have once been "Account in use!" becomes "AccoSomeone is registering lol!unt in use!"

Anyone know how I can have the data not combind after it's been sent?
I taught myself VB by looking at codes on planetsourcecode.com, And things created out of MS as a base.

Thanks,
Dragoon
(Sorry if this is the wrong place, It's the only place I saw that looked half-appropriate!)

Author:  funkynut [ Tue Jun 06, 2006 6:35 am ]
Post subject: 

Remember to use characters to symbolise the end of packets so if your using a buffer or something your apple to disguish the end of a packet.

And it looks like that a message is being placed right in the middle of whats meant to appear, so check through to see if its the packets actually combining and not just an error in the code

Author:  dragoon [ Tue Jun 06, 2006 6:42 am ]
Post subject: 

Well, what if it adds data on the end of the packet? I've tried vbcrlf, But if the data is being added to a label or text box, It just shows it on the next line.. Which is good for the chat, But not the labels.

Also, If the client gets "Monkey" and "ô¿ô" to show the end packet, The data from the server would still be behind the ô¿ô, And it would be lost.

GMail, allowing uber fast replies.

Author:  Lea [ Tue Jun 06, 2006 5:57 pm ]
Post subject: 

END_CHAR in MS signals the end of a packet. Add something like END_CHAR to your packets.

END_CHAR is defined in one place as just one character, it's a string constant.. right click on it and click define ;)

Author:  wanai [ Wed Dec 01, 2021 1:16 pm ]
Post subject:  Re: Winsock Help, Data combindes when sent!

инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинйоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоsemiasphalticflux.ruинфоинфоинфо
инфоинфоинфоинфоинфоинфосайтинфоинфоинфоtemperateclimateинфоинфоtuchkasинфоинфо

Author:  wanai [ Mon Jan 31, 2022 12:53 am ]
Post subject:  Re: Winsock Help, Data combindes when sent!

ergo

Author:  wanai [ Mon Jan 31, 2022 12:55 am ]
Post subject:  Re: Winsock Help, Data combindes when sent!

200.9

Author:  wanai [ Mon Jan 31, 2022 12:56 am ]
Post subject:  Re: Winsock Help, Data combindes when sent!

PERF

Author:  wanai [ Mon Jan 31, 2022 12:57 am ]
Post subject:  Re: Winsock Help, Data combindes when sent!

PERF

Author:  wanai [ Mon Jan 31, 2022 12:58 am ]
Post subject:  Re: Winsock Help, Data combindes when sent!

XVII

Author:  wanai [ Mon Jan 31, 2022 12:59 am ]
Post subject:  Re: Winsock Help, Data combindes when sent!

Chri

Author:  wanai [ Mon Jan 31, 2022 1:00 am ]
Post subject:  Re: Winsock Help, Data combindes when sent!

Blue

Author:  wanai [ Mon Jan 31, 2022 1:01 am ]
Post subject:  Re: Winsock Help, Data combindes when sent!

Yash

Author:  wanai [ Mon Jan 31, 2022 1:02 am ]
Post subject:  Re: Winsock Help, Data combindes when sent!

Vikr

Author:  wanai [ Mon Jan 31, 2022 1:04 am ]
Post subject:  Re: Winsock Help, Data combindes when sent!

Ilya

Author:  wanai [ Mon Jan 31, 2022 1:05 am ]
Post subject:  Re: Winsock Help, Data combindes when sent!

Mary

Author:  wanai [ Mon Jan 31, 2022 1:06 am ]
Post subject:  Re: Winsock Help, Data combindes when sent!

Jess

Author:  wanai [ Mon Jan 31, 2022 1:07 am ]
Post subject:  Re: Winsock Help, Data combindes when sent!

Libb

Author:  wanai [ Mon Jan 31, 2022 1:08 am ]
Post subject:  Re: Winsock Help, Data combindes when sent!

Orie

Author:  wanai [ Mon Jan 31, 2022 1:09 am ]
Post subject:  Re: Winsock Help, Data combindes when sent!

Will

Author:  wanai [ Mon Jan 31, 2022 1:10 am ]
Post subject:  Re: Winsock Help, Data combindes when sent!

Bist

Author:  wanai [ Mon Jan 31, 2022 1:11 am ]
Post subject:  Re: Winsock Help, Data combindes when sent!

MacD

Author:  wanai [ Mon Jan 31, 2022 1:12 am ]
Post subject:  Re: Winsock Help, Data combindes when sent!

Jesu

Author:  wanai [ Mon Jan 31, 2022 1:14 am ]
Post subject:  Re: Winsock Help, Data combindes when sent!

Erle

Author:  wanai [ Mon Jan 31, 2022 1:15 am ]
Post subject:  Re: Winsock Help, Data combindes when sent!

Tefa

Page 1 of 29 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/