Jump to content
rindeal

Passing buffer under pointer to TCPSend

Recommended Posts

rindeal

Hello,

I have a function which looks like this:

func callback($buf_p, $len)
    TCPSend($iSocket, ...)
    Return 1
EndFunc

buf_p - pointer to a binary buffer

len - length of the data

 

How is it possible to send the data under the pointer via TCPSend()?

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

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.