![](smile.gif)
http://MatrixCubed.org
![](http://24.114.12.207/paleribbon.jpg)
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
''Client-sideWith tcpClient .SendData WSM_LOGINREQUEST .SendData Len(txtUsername.Text) .SendData txtUsername.Text .SendData Len(txtPassword.Text) .SendData txtPassword.TextEnd With''Server-sideDim dwMessage as LongtcpServer(Index).GetData dwMessage, vbLongIf dwMessage = WSM_LOGINREQUEST Then With frmServer.tcpServer(Index) .GetData dwLength, vbLong .GetData szUsername, vbString, dwLength .GetData dwLength, vbLong .GetData szPassword, vbString, dwLength End WithEnd IF