Jump to content
Sign in to follow this  

TCP problems

Recommended Posts

Hi, I've a problem developing a TCP code...

I can't send back a string from server to client... :whistle:

Anybody know how can i solve my problem???

My server code :

While 1
$recv = TCPRecv( $ConnectedSocket,2048 )
if $recv = "0" then
$variable = Winlist ()
elseif $recv = "1" then
$variable = DriveGetType ( "D:" )
If IsArray ($variable) = 1 Then
     $2send = _ArrayToString ($variable, "|")
     $variable = $2send
;Now i will try to send string... 
dim $ConnectedSocket = -1
$ConnectedSocket = TCPConnect($szIP_Accepted ,$nPORT)

Edited by Framp

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...