Michael Henderson wrote: > *msg=(char)"Action: Login\r\nUsername: admin\r\nSecret: > admin\r\nActionID: 1\r\n\r\n"; change this to ... strncpy(msg, "Action: blahblahblah\r\n\r\n", sizeof(msg) - 1) -- Russell Bryant Senior Software Engineer Open Source Team Lead Digium, Inc.