Jump to content

How to commuinicate with sockets


MOGSY

Recommended Posts

43 minutes ago, MOGSY said:

Thanks for your response. Can you suggest where to start?

Regards

I suggest you to create a raw socket, threadded,  using only winsock2 library (do not use any component that relies on Windows messaging for communications) OR Use Indy sockets in case you do not need realtime communications.

Link to comment
Share on other sites

Hi

I have tried different components, TServerSocket and TClientSocket, sgcWebSocketServer, sgcWebSocketClient and TIdTCPClient.

Unfortunatly none is able to commuinicate and it appears that UniGui is stopping the socket from commuinicating.

I have attached two test project. Would appreciate any suggestion to resolve this issue.

Regards

ClientSocket.7z

ServerSocket.7z

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...