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? Link to comment https://forums.phpfreaks.com/topic/8193-porting-code/ 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 Link to comment https://forums.phpfreaks.com/topic/8193-porting-code/#findComment-29904 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] Link to comment https://forums.phpfreaks.com/topic/8193-porting-code/#findComment-29912 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.