Jump to content
Updating IPB tonight Read more... ×

Archived

This topic is now archived and is closed to further replies.

rab

Porting Code

Recommended Posts

I have some C code i want to port to PHP, the C program is based off of creating a socket send, recieving and analyzing the data recieved. How would I do this is PHP?

Share this post


Link to post
Share on other sites
There are socket functions built into PHP. Take a look at [a href=\"http://us3.php.net/sockets\" target=\"_blank\"]http://us3.php.net/sockets[/a]

It should be quite easy to do the port.

If you want some other folks to look at your C code, you can post it to [a href=\"http://pastebin.com\" target=\"_blank\"]pastebin.com[/a] and post the URL that points to the code.

Ken

Share this post


Link to post
Share on other sites
[a href=\"http://rafb.net/paste/results/lpxXeM27.html\" target=\"_blank\"]source[/a]

Share this post


Link to post
Share on other sites

×

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.