socket programming, send hex data

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
yacahuma
Forum Regular
Posts: 870
Joined: Sun Jul 01, 2007 7:11 am

socket programming, send hex data

Post by yacahuma »

Hello,

I need to create a socket client that can send commands and read results from an embedded device. The commands are a series of hex data like

FFAA4C0200010001

Can anyone point me in the right direction? Are there any good higher level socket libraries?

Thank you
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Re: socket programming, send hex data

Post by Weirdan »

for the networking part i'd assume pinetd2 should be pretty stable by now, with examples like http, smtp and ftp servers implemented on top of it
Post Reply