Click to See Complete Forum and Search --> : Having problems with winsock
k3pos
Mar 10th, 2007, 04:24 AM
Private Sub cmdStart_Click()
If sock1.Close = False Then
sock1.Close
Port = txtport
sock1.Bind Port
sock1.Listen
End Sub
Private Sub cmdStop_Click()
If sock1.Close = False Then
sock1.Close
End Sub
Private Sub Form_Load()
server.Show
End Sub
All the bold ones have problems..
I dont know why.. i am using winsock
please help me fast.
Nerd-Man
Mar 10th, 2007, 08:56 AM
i think winsock is not Boolean. but i am not expert, so i can only tell you to remove the if sock.close = False from your code. that should fix it. but note i am a newbe...
k3pos
Mar 10th, 2007, 03:23 PM
Was Fixied. and other questions
-Can i connect twice to the same IPHOST in Other ports ?
-Can i data typs to winsock?
-Is theR anything like winsock that better then winsock?
-Can i transfer files in winsock?
-Is ther anything that can transfer files computer -> computer like winstock?
Thanks
Nerd-Man
Mar 10th, 2007, 11:22 PM
Can i connect twice to the same IPHOST in Other ports?
yes if they have different ports then you can conn. to the port several times.
Can i data typs to winsock?
i dont know about that.
Is theR anything like winsock that better then winsock?
umm if you can make your own winsock control, then it can be more customize the way you wanted.
Can i transfer files in winsock?
yes you can transfer files using winsock
Is ther anything that can transfer files computer -> computer like winstock?
i dont know about that as well..
k3pos
Mar 10th, 2007, 11:27 PM
Can i connect twice to the same IPHOST in Other ports?
yes if they have different ports then you can conn. to the port several times.
Thanks i can connect to it
Can i send data typs to winsock?
i dont know about that.
Question been fixed
Is theR anything like winsock that better then winsock?
umm if you can make your own winsock control, then it can be more customize the way you wanted.
Is they a guide for that?
Can i transfer files in winsock?
yes you can transfer files using winsock
How? all i see is text not files
Is ther anything that can transfer files computer -> computer like winstock?
i dont know about that as well..
Thanks anyway
Thanks
Nerd-Man
Mar 11th, 2007, 12:10 AM
there is a way to trsnfer files using winsock but i forgot where i saw the example because it was long time ago. but i think it was http://www.planet-source-code.com/ where i saw the example of sending files using winsock. and about winsock control, i know someone who use to make his own winsock to add new features he want. but i haven't seen him from long time. maybe someone from this forum knows how to make a winsock control as there are lots of experts come to this forum.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.