Quantcast
Channel: WinDev Forum
Viewing all articles
Browse latest Browse all 1914

[WD22] Socket question (1 reply)

$
0
0
Hi,

this is the first time for me that I have to use sockets. I have some problems to understand the read / write mechanism.

What I do now:

1. Socketread in a thread with:
Myresult=socketread("Mysocket1", true)

2. socketwrite("Mysocket2",blabla)

How can I transfer Myresult in the main thread (I now use a global variable) ?
How can I secure end the socketread ? The parameter says "waiting forever ...."

Has anybody a simple example for me ? The PC Soft examples are to complicated for me.

Viewing all articles
Browse latest Browse all 1914

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>