MoonchildHK
Programmer
Hey All,
I am trying to make a connection to an SQL server using a TClientSocket with BCB5. Although I have no problem reading and writing data to other connections (FTP, SMTP, HTTP etc) I can't seem to get any sense out of a connection to a remote MySQL server.
When I use ReceiveBuf I just seem to get garbage, although it worked fine with the other types of connections. I have noticed the same happens with connections to remote telnet ports. How can I read data from these connections so it makes sense?
I guess there is something I am doing wrong? Any help would be much appreciated
Thanks,
Steph
I am trying to make a connection to an SQL server using a TClientSocket with BCB5. Although I have no problem reading and writing data to other connections (FTP, SMTP, HTTP etc) I can't seem to get any sense out of a connection to a remote MySQL server.
When I use ReceiveBuf I just seem to get garbage, although it worked fine with the other types of connections. I have noticed the same happens with connections to remote telnet ports. How can I read data from these connections so it makes sense?
I guess there is something I am doing wrong? Any help would be much appreciated
Thanks,
Steph