Jump to content

Passing buffer under pointer to TCPSend

Recommended Posts



I have a function which looks like this:

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

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