|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today! |
|
#1
|
|||
|
|||
|
Hi ....i have a question about winsock for making a simple chat program
first of all, i want to do winsock1.listen part first here the code: Private Sub cmdListen_Click() On Error GoTo ErrLable: Winsock1.LocalPort = 4000 Winsock1.Listen TxtInput.SetFocus Frmserver.Enabled = False FrmClient.Enabled = False OptServer.Enabled = False OptServer.Enabled = False ErrLable: txtMonitor.Text = txtMonitor.Text & Err.Description & " -Errornumber: " & Err.Number & vbCrLf txtMonitor.SelStart = Len(txtMonitor.Text) End Sub I don't know why it does work deeply appreciate |
|
#2
|
|||
|
|||
|
Hi,
Haven you taken a look at Jasons article on building a chat program with Winsock and VB? It should help you overcome your problems. You can see it here: http://www.devarticles.com/content.php?articleId=45 |
![]() |
| Viewing: Dev Articles Community Forums > Programming > ASP Development > winsock |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|