rab Posted April 23, 2006 Share Posted April 23, 2006 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? Quote Link to comment Share on other sites More sharing options...
kenrbnsn Posted April 23, 2006 Share Posted April 23, 2006 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 Quote Link to comment Share on other sites More sharing options...
rab Posted April 23, 2006 Author Share Posted April 23, 2006 [a href=\"http://rafb.net/paste/results/lpxXeM27.html\" target=\"_blank\"]source[/a] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.