Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Problem with Sockets in AGK 2.0.19

Author
Message
SkinK4ir3
9
Years of Service
User Offline
Joined: 25th Aug 2015
Location:
Posted: 24th May 2016 04:38
hi everyone !
i have a problem in send message with sockets . my tcp server cant understand what my app in AppGameKit , send with sockets ...

the messages in AppGameKit are send in Binary ?

because i already try receive messages in Ascii , Utf8 and unicode ... but dont works ..


i have some screnshots bellow
thanks by attention ^^

Attachments

Login to view attachments
Paul Johnston
TGC Developer
22
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 24th May 2016 15:05
AGK strings are sent with a 4 byte length value and then the string data
SkinK4ir3
9
Years of Service
User Offline
Joined: 25th Aug 2015
Location:
Posted: 24th May 2016 15:08
so i need read how many values ?

can you give me a example how can i use this with winsock ?
Paul Johnston
TGC Developer
22
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 24th May 2016 15:27
SkinK4ir3
9
Years of Service
User Offline
Joined: 25th Aug 2015
Location:
Posted: 27th May 2016 02:21
thanks by you answer Paul

i already fix this problem , now , my problem is in Get Message from server with AppGameKit


follow the screenshots > http://prntscr.com/b8wo85

Login to post a reply

Server time is: 2024-11-25 05:36:32
Your offset time is: 2024-11-25 05:36:32