 |
 |
 |
 |
| there is problem with my browser or the formatting is bad ??
|
|
 |
| |
 |
| | i want to be able to send string data to and from the client and server.. like a mini messanger =] can you plz assist me or show me how msn: 32bit@gunbound.net |
|
 |
| | The tutorial allready clearly explains that... |
|
 |
| can you help me
when i make a double click on Microsoft Winsock Control 6.0 component, it gave me an alert message saying: you don't have a license to use this activeX control |
|
 |
| |
 |
| | Multiple clients cannot get ack |
|
 |
| | i cannot figure this out, when i press cntrl + t it takes me to the right place i guess but their is no winsock, i have tried and tried to get it but cant find it except on microsoft.com and even then once i have it and try to use it i get the error message, "The file was not registerable as an activeX component" anybody know what i should do or where to go? thx and also i tried to as it as a resource but that didnt work either, even tho it is a .dll file, ugh! |
|
 |
| | Really wonderful piece of information for a beginner. I strongly recommend this for all vb programmers |
|
 |
| | Hi. I like very much the tutorial I got an addtional learning from it. thanks a lot. But I need help on how to deny an access to the server if user id is already connected. What I mean is if the user id is already connected, it should not be duplicated in the servers' list of connected users or can not used user id that is already connected. Any help for me. Please e-mail me vanix_09@yahoo.com and thanks a lot. |
|
 |
| beautiful, exactly what i needed to get started with network programming! thank you very much!
-Lyle |
|
 |
| | connection forcefully rejected, what happen when multipple client connected |
|
 |
| Absoloutely fantastic tutorial for beginners. Great job, nice work on writing it.
*Goes back to google to sort his problem out =[*
Nice work :P
|
|
 |
| | Since data transfer and receive is so fast, how would I know weither I've done with all transactions outside of sub socket event module before I close the connection |
|
 |
| Cant use this code in VB2005 :-(
Get lots of errors, first of all in the sock_connectionrequest procedure
if Sock.State = sckListening then.....
This returns an error: 'State' is a type in 'AxMSWinsockLib.AxWinsock' and cannot be used as an expression.
|
|
 |
| David:
Nice work. Very simple and easy to follow.
Now I need to find a multi threaded server example(or multi process)
Great help. Thanks. |
|
 |
| this bit didnt work for me
If sock.State = "sckListening" Then ' if the socket is listening
Even after i put the scklistening in quotes sock.state still says it cant be used as an expression |
|
 |
| Felicitaciones. Muy buen tutorial.
Congratulations. Good tutorial. |
|
 |
| Incredibly useful. Easy to Follow and well explained.
Many Thanx Mike
|
|
 |
| |
 |
| | Sure, we'll get right on that. |
|
 |
| can you help me make a code for a client connnects the server indicate what ipaddress is connecting to the server
esot_dc@yahoo.com
thanx |
|
 |
| | well u just do: WinSock.Hostip on the server side |
|
 |
| giving some tips on how to do multiple socket connections would be very much apprieciated.. can't seem to find any good guides anywhere.
main problem im having is being able to control/monitor incoming connections... |
|
 |
| | hi. i wrote these codes. but error indicated that "sock.RemotePort = txtPort.Text". error type is type mismatch. i am begining. please help me!!!. my mail adress is "usonnosu_2006@yahoo.com" |
|
 |
| error "sock.RemotePort = txtPort.Text":
you have to type the port before hitting the button, "so I presume" |
|
 |
| tips on how to do multiple socket connections:
You must have multiple winsock controls, an array of controls if you are comfortable with.
client side: not interesting, this can be done with multiple copies of program running.
server side: you need one ear and multiple mouths, that is, one listening socket and array of talkers; in ear_ConnectionRequest do not close your ear, create a new mouth and mouth.Accept talking |
|
 |
| | Thanks for the info, I managed to build a simple multiplayer game with it. Can you provide me with an advanced tutorial on allowing clients who are behind a router to connect to the server program? That would be very helpful... matte05 [at] hotmail [dot] com. |
|
 |
| Great code bro!
Keep em coming. =] |
|
 |
| hii does this example works only on LAN or it will work on WAN (outer internet also)..plz reply soon sumit_space@yahoo.co.in
i also made the server clientprogram ..its working on LAN but it can n't send data or messages to the system outer from the Network..means have another internet connection...reply soon |
|
 |
| | At the full server code you don't need to add the textboxes txtIP and txtPort but txtMe and txtOther. |
|
 |
| | hi buddy excelent job,i need a hand qith how to use the same code in .net,i try but i dont know how,how to change activex to .net?? any help please email me kupa7@hotmail.com |
|
 |
| | if txtMe.text doesn't work, try txtMe.value |
|
 |
| | can this client-server architecture be used over the internet. I mean my client is a regular machine while the server resides on a machine over the internet with a fixed IP address. |
|
 |
| | i am the student at UTM(malaysia).this is the first time i use VB in make the socket programming.could you please help in to explain more detail about using socket programming using VB.my email address is fiezka@yahoo.com |
|
 |
| hi..i could run the client programming bit fail to run the server programming..the error is at sckTCPProtocol...i did not have any idea about this error..could you help me??
fiezka@yahoo.com |
|
 |
| Here is my entire code for a UDP talker and UDP listener in separate forms, using VBA in Access 2003. Text sent from the talker form is displayed in the text box of the listener form.
Server (Talker)-Form has the Winsock control named “UDPTalkerSocket” and a command button named “cmdSendUDP”
Dim MsgCnt As Integer
Private Sub cmdSendUDP_Click()
' setup the socket
MsgCnt = MsgCnt + 1
If UDPTalkerSocket.State = sckClosed Then ' if the socket is closed
UDPTalkerSocket.Connect "localhost", 12345
End If
' send!!
UDPTalkerSocket.SendData "Testing UDP" & MsgCnt & vbCrLf
End Sub
------------------------------------------------------------
Client (Listener) )-Form has the Winsock control named “UDPListenerSocket” and a text box named “txtText1”
Private Sub Form_Load()
UDPListenerSocket.LocalPort = 12345
UDPListenerSocket.Bind
End Sub
Private Sub UDPListenerSocket_DataArrival(ByVal bytesTotal As Long)
Dim s As String
UDPListenerSocket.GetData s
txtText1.SetFocus
txtText1.Text = s
End Sub
|
|
 |
| | how can you test this if u only have one computer????????? |
|
 |
| | It works just fine on one machine! In that case you've got interprocess communications, between two VB sessions. One session runs the client code, the second runs the server code. Just use the your machine name (or IP) in the client's IP text box. |
|
 |
| | hey, erm, i cant call the winsock thingy, u said take it from the toolbox but its not there, any way to call it from code view? (roflcaeks@hotmail.co.uk) |
|
 |
| | WOW Amazing...Nicely explained. Very much important for beginners like me. Can i get more advance tutorials for multiple connections..etc dnyaneshwar20@yahoo.com |
|
 |
| | nice tut, just what i needed. |
|
 |
| | can only a winsock control handle multiple connection a same time |
|
 |
| if the server i willing to contact to is password protected, how can i forward the password to the host???
thanx - HaTy |
|
 |
| | This is very good for beginngers like myself. Is there an example on how to use UDP to send video frames to a server? or client? |
|
 |
| | I haven't done network programming with VB before, but I need to do this ASAP for a project at work. This was the first hit I got from google. Your page was one of the most helpful tutorials I have ever read on the internet. Good job on making it so easy to understand!!! |
|
 |
| | Thank you VERY much for this tutorial. Extremely well made and explained. |
|
 |
| | Simple and clear for the beginners |
|
 |
| very interesting and awesome program!!!
|
|
 |
| This is fantastic - thank-you so much for this
I have been trying to get my head around how all this worked for days - this had me sorted in just a few minutes.
fantastic tutorial, very clear and to the point - the demo works perfectly too.
Thanks |
|
 |
| |
 |
| | Thank You so much for this wonderful tutorial.for beginners , you could include how to get the hostname so that client can provide to hostname. |
|
 |
| The tutorial is for a server/client app within the same project or executable. When I try to split it out into two separate applications, to talk to each other, the communications become one-way only. How to fix this???
Thanks
|
|
 |
| | the server is what receives messages and the client is what sends messages, so if you want to have bidirectional communication you need both client and server routines in your program. |
|
 |
| It is Great...........
Thanks ..........
pls wright down more about socket programming......... |
|
 |
| I used this code and it worked fine for server part but on client part when i do
sock.Connect i can see connection request at server end and it accepts the connection succesful but on client side socket status is still connecting. Does server sock need to send any acknoledgement back to client on accepting the connection. |
|
 |
| | Dude it is a well wriiten tututorial. thx. was of gr8 help |
|
 |
| |
 |
| | cool tut...fantastic for beginner.. |
|
 |
| | Beautiful work here, thank you |
|
 |
| |
 |
| |
 |
| |
 |
| Its really a great help for me.
Now I need to try multiple thread part. |
|
 |
| | plese put the c# code if any one have |
|
 |
| |
 |
| | Since data transfer and receive is so fast, how would I know weither I've done with all transactions outside of sub socket event module before I close the connection.buy drug |
|
 |
| very interesting tutorial, thank you very much
|
|
 |
| | great tips! Thanks for sharing. good info!! <a href="http://www.learn-how-to-quit-smoking.com">How to quit smoking</a> |
|
 |
| just one error :
Server:
Quote:
1 Winsock control "sock"
2 Textboxes "txtIP", "txtPort"
the 2 textbox on the server should be txtme and txtother... however great job guy! |
|
 |
| |
 |
| | This is a wonderful tut for a beginner, nicely explained.But hw it can b used to communicate with multiple clients. |
|
 |
| It's great tutorial, i found it usefull. But i want to extent it, so the message receive by client, can it be written into database table ?
Thanks. |
|
 |
| | Giving run-time error '1400' |
|
 |
| VB is way under-rated by most professional/corporate programmers. For many corporate applications, using VB with socket programming can be remarkably more efficient than the more typical MVC web applications (Java/dotNET/Ruby/PHP) that is currently in favor.
Calvin (Wicker Garden Furniture) |
|
 |
| |
 |
| | How To check Socket programming in single Computer? |
|
 |
| |
 |
| | <a href="http://www.upholsteredheadboard.net">Upholstered Headboard</a> - we wish you a merry christmas and a happy new year. |
|
 |
| | [http://www.upholsteredheadboard.net Upholstered Headboard] |
|
 |
| | The tutorial is for a server/client app within the same project or executable. When I try to split it out into two separate applications, to talk to each other, the communications become one-way only. |
|
 |
| Since data transfer and receive is so fast, how would I know weither I've done with all transactions outside of sub socket event module before I close the connection.
http://www.olmafood.com/
|
|
 |
| | good one boss. plannin to bring our own lan msssger in office. thks for ur tut |
|
 |
| | The post is written in very a good manner and it contains many useful information for me. You have a very impressive writing style. Thanks for sharing. |
|
 |
| Thanks, its a very good information of sharing and making people know about the activites that are being carried out.
Digital Printing |
|
 |
| | this is Vilas; I like this |
|
 |
| | I can not understand this, when the press cntrl + t brings me to the right place I suppose, but not your winsock, I have tried and tried to get it but cannot find it, except at microsoft.com and yet once I have and try using it I get the error message, no "the file was registered as an ActiveX component" nobody knows what to do or where to go? THX and I have also tried, since as a resource but not yet work well, even Thomas is a. dll, ugh! andy from free Xbox Live |
|
 |
| I can not understand this, when the press cntrl + t brings me to the right place I suppose, but not your winsock, I have tried and tried to get it but cannot find it, except at microsoft.com and yet once I have and try using it I get the error message, no "the file was registered as an ActiveX component" nobody knows what to do or where to go? THX and I have also tried, since as a resource but not yet work well, even Thomas is a. dll, ugh! andy from
<a href="http://freexboxlivenow.info">Free Xbox Live</a> |
|
 |
| | This is a very nice tut on XMLsockets, however this tut isn't clear to me about how to get multiple sockets to connect to the server, and how to make the server to send the message back to all connected sockets. if there is anyone that does know, pliz send me an email at bcnobel@gmail.com. Thyxx |
|
 |
| |
 |
| Where can I get a download for the sock?!
using vb 2010 trying to make it work
have incorrect sock, please post link for download. |
|
 |
| | Thanks for the best article. HID KIT |
|
 |
| |
 |
| | For the person who client stay in the state of "connecting", I had the same problem, but it's not a problem, to check the state you have to get out of the function and check the state again. |
|
 |
| | hey just wanted to come in to the comment section and say hello here <a href="http://helpforsinglemother.net/" rel="dofollow">help for single mothers</a> |
|
 |
| |
 |
| |
 |
| | The best and simplest explanation;thnks. |
|
 |
| contemporary bathtubs
Nothing can be more enjoyable than relaxing the weekend after hectic working days, to rejuvenate you, with the help of a spa. The nice warm free standing baths can do wonders on the mental and physical condition of the body and transforms into a new person. It is practically impossible to visit a spa every weekend, but, you can now enjoy the full benefits of whirlpool spa wholesale and its effects from the comfort of your home, thanks to steam showers wholesale prices. |
|
 |
| Hi there,
You have done really nice job. There are many people searching about that now they will find enough sources by your tips.
<a href="http://www.genericsmed.com/">Generic Cialis</a> | <a href="http://www.genericsmed.com/buy-cheap-generic-cialis-tadalafil-p-1.html">Generic Cialis</a> | <a href="http://www.genericsmed.com/buy-cheap-careprost-generic-lumigan-bimatoprost-opthalmic-solution-eye-drop-p-1147.html">careprost</a>| <a href="http://www.genericsmed.com/buy-cheap-generic-propecia-finasteride-p-4.html">Generic Propecia</a>
looking forward for more tips about that |
|
 |
| |
 |
| Our different varieties of bathroom accessories will well suit your budget too. Not only they are space friendly but they are your pocket friendly too. Maximizing your pleasure and minimizing your cost at the same time. Our Bathtubs manufacturer are more affordable than other competitors.
hot tubs for sale |
|
 |
| shower enclosure
A steam room is a wonderful way to entertain friends and family as well. With a steam shower you can relax with a glass of wine or a nice chilled beer and unwind to start off the weekend. Or you could soak in your freestanding bathtubs on a Sunday night to get rested and prepared for the busy week to come. Your steam room can also provide wonderful entertainment whenever you hold parties or small get-togethers. |
|
 |
| Nice post. Please keep continue sharing your great ideas
Generic Viagra | Cheap Generic Viagra| Generic Levitra | Generic Viagra |
Cheap Generic Viagra | kamagra | Finpecia | Penegra | Kamagra |
|
|
 |
| | Oracle <a href="http://www.examshots.com/vendor/Microsoft-1.html">free Microsoft practice tests</a> online test is just like a twin of Oracle real exam. This online lab training will be an easy task for you and <a href="http://www.aplus-220-701.com">CompTIA A+ certification</a> practice test online is also enjoyable. Online <a href="http://www.mcsa-70-291.com">70-291</a> practice is popular and effective considering the time cost, because it will provide you all <a href="http://www.mcitp-70-620.com">how to get windows vista for free</a> answers in a way you can fully understand and you will never forget these answers in your <a href="http://www.mcitp-70-680.com">70-686 exam</a> tests.qiao456 |
|
 |
| |
 |
| |
 |
| Really great post, Thank you for sharing This knowledge.
Alkeran
|
|
 |
| | Really great post, Thank you for sharing This knowledge.Thank you very much for sharing this knowledge.this graph really conveyed the part which i was looking for.<a href="http://www.buy-pharma.co.uk/DUTAS-p-116.html">dutas</a> | <a href="http://www.buy-pharma.co.uk/Careprost-p-1147.html">careprost</a> | <a href="http://www.buy-pharma.co.uk/Tadacip_Forzest_Tadora_Apcalis-sx-p-1.html">tadacip</a>| <a href="http://www.buy-pharma.co.uk/LUMIGAN-p-426.html">lumigan</a> |
|
 |
| |
 |
| | WinSock has been depracated since VBStudio 2008... |
|
 |
| <a title="pvc figure" href="http://www.animemodelstore.com/">pvc figure</a>
<a title="anime figures" href="http://www.animemodelstore.com/">anime figures</a>
<a title="resin kit" href="http://www.animemodelstore.com/">resin kit</a> |
|
 |
| |
 |
| |
 |
| Yesterday, my friend bought a <a href="http://www.ysldiscounts.com" title="Ysl sale">Ysl sale</a>which is so beautiful, i am surprised by the design and style.
do you have a <a href="http://www.ysldiscounts.com" title="Cheap ysl">Cheap ysl </a>pair of now? if not, go to online store and have one, it is so amazing!!!
there are many online stores having <a href="http://www.ysldiscounts.com" title="ysl shoe">ysl shoe</a>,i believe you gonna like it!
Yesterday, my friend bought a <a href="http://www.ysldiscounts.com" title="Ysl sandals">Ysl sandals</a>which is so beautiful, i am surprised by the design and style.
|
|
 |
| Yesterday, my friend bought a <a href="http://www.ysldiscounts.com" title="Ysl sale">Ysl sale</a>which is so beautiful, i am surprised by the design and style.
do you have a <a href="http://www.ysldiscounts.com" title="Cheap ysl">Cheap ysl </a>pair of now? if not, go to online store and have one, it is so amazing!!!
there are many online stores having <a href="http://www.ysldiscounts.com" title="ysl shoe">ysl shoe</a>,i believe you gonna like it!
Yesterday, my friend bought a <a href="http://www.ysldiscounts.com" title="Ysl sandals">Ysl sandals</a>which is so beautiful, i am surprised by the design and style.
|
|
 |
| | Are you an pvc figure collector or do you only realize how popular they are? Well, the fact is that because they are so popular with both children and collectors alike, some people are earning a lovely living out of trading anime toys both on and off line. Earning money from your hobby is both fun and fairly easy, if you know what you are doing. It is certainly possible for you to turn a profit from them too.There are prerequisites to making money from any hobby and trading in anime figures is no exception. You have to really immerse yourself in the toys and know which ones are hard to buy and which ones are the most well-liked with enthusiasts. You can gain this knowledge by reading, but to be honest, if you do not already know it, you are probably not interested enough.If you are not au fait with resin kit, try applying these principles to what you are interested in. Anyway, getting back to anime. There are comics, books and films that you should be familiar with before you can have enough knowledge to begin trading. You need to know the characters and also their personalities.The easiest manner to begin is if you sell what you already have. If you have looked after Anime Pillow, they could be worth quite a bit of money otherwise they will attract a reduced price. This is not necessarily a difficulty. |
|
 |
| | There are may person searching about that now they will find enough resources by your post,<a href="http://www.sonicinfosystem.com"> Seo Services India</a> |
|
 |
| | There are may person searching about that now they will find enough resources by your post, Seo Services India |
|
 |
| |
 |
| Please one more post about that..I need this article to complete my assignment in the college, and it has same topic with your article. Thanks, great share.
<a href="http://www.rxpillspharmacy.com">Generic Viagra </a> |
|
 |
| Wow, nice post,there are many person searching about that now they will find enough resources by your post
<url="http://www.rxpillspharmacy.com">Generic Viagra </url> |
|
 |
| |
 |
| | This lovely Coach Outlet is also part of Kristin Collection. Premium lightweight Coach Bags transformed by a complex finishing process into a uniquely luxurious, delicately textured material. Printed, embossed and highlighted with glossy metallic accents, Coach Purses drapes beautifully, creating a perfectly slouchy silhouette. |
|
 |
| | Thank you for the update. I am new to Search engine optimization and though its still a mystery for me on how to use this but I will study this for positive it'll help me lot. Thank you as soon as once more for the informative post. logo design |
|
 |
| |
 |
| I just now wanted to let you know how much I appreciate every thing you’ve provided<a href="http://www.buyceramicwatches.com/gf-ferre-ceramic-watches-677.html">GF FERRE ceramic watches</a>
|
|
 |
| |
 |
| |
 |
| nice article thank you.
http://www.samrx.com |
|
 |
| nice article.
<a href="http://www.samrx.com">generic viagra</a> |
|
 |
| |
 |
| There are many exciting things soon enough on this page even so My spouse and i don’t determine if every one of them midst for you to cardiovascular. There can be a number of truth even so I'm going to acquire carry thoughts and opinions until eventually My spouse and i check into the idea even more. Very good document , cheers and now we desire far more! Combined with FeedBurner while effectively
obat asam urat
|
|
 |
| Let's just nuke this entire region until it glows in the dark and be done with it. The next time somebody thinks about attacking us.
payday loans online, cash advance
|
|
 |
| hmmm very nice post
thanks for sharing it
bohyme |
|
 |
| I keep comming back to read your excellent quality content that is forever updated.
Buy Kamagra Online |
|
 |
| |
 |
| Yeah I am agree that its just an awesome post
really very like it
regards
<a href="http://www.blackhairspray.com/brands/janet-collection.html" rel="dofollow">janet collection</a> |
|
 |
| |
 |
| I have wanted to learn more about particular topics, but not many websites would help me out in informing me the way I expected. This left me with many question, but after reading your article, I got an answer to all my questions. You are too cool dude!!!
Regards,
<a href="http://www.mkmedicalservices.com/">Generic Drugs Exporter</a> |
|
 |
| I have wanted to learn more about particular topics, but not many websites would help me out in informing me the way I expected. This left me with many question, but after reading your article, I got an answer to all my questions. You are too cool dude!!!
Regards,
Generic Drugs Exporter |
|
 |
| |
 |
 |
 |
 |
Anonymously add a comment: (or register