CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Advanced:
Sockets problem

 



Knoxy
New User

May 3, 2002, 3:39 AM

Post #1 of 1 (1913 views)
Sockets problem Can't Post

Hi,

I need some help with a sockets problem. I have a string eg "123123hello" that I convert to 16 bit using the pack and unpack functions.

I add this to an array and send it over the wire ... okay.

But my problem is that I need to add a hex bit (0x00) before and after the packet and I don't know exactly how to do this. I've tried adding \x00 to the start and end of the array but it gets sent as the letter S.

Anyone help ???

thanks

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives