FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


networking help





umeshtangnu
i have a problems
CODE
public static void web(Socket suck )
{
byte [] rbuffer =new byte[BUFSIZE+1];
byte [] sbuffer =new byte[BUFSIZE+1];
string str="<HTML><BODY><H1>nweb Web Server Sorry:</H1></BODY></HTML>\r\n";
sbuffer=str//error can convet
suck.Receive(rbuffer);
suck.Send(sbuffer);//cant send data as only byte array can be send



}
how can an string be converted to a byte array.
Even convert class is not useful
plz help
Related topics
can i help?
help,Bonding
HELP!!
Help me with MySQL Account Maintenance and phpBB 2.0.15 :((
Google buys social-networking service
Sun, Microsoft tout fruits of cooperation
eBay wins stay in MercExchange case
help, change pass my acc in cpanel
help me upgrade php to 5.
Need help adding a domain
Please Help Packet Problem
Networking between win98 and winxp
Social Networking Scripts
Social Networking Script
Reply to topic    Frihost Forum Index -> Scripting -> Others

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.