Important alert: (current site time 7/15/2013 8:20:56 AM EDT)
 

winzip icon

[ a Winsock Chat Example for DUMMYS ]

Email
Submitted on: 4/3/2004 10:58:48 PM
By: FUCCI, Leonardo Hernan  
Level: Intermediate
User Rating: By 18 Users
Compatibility: VB.NET
Views: 56033
author picture
(About the author)
 
     This is a Basic Example. P2P communication with 2 WINSOCKS. Here you can learn the differences between Winsock for Vb6 and Vb.Net.

 
Can't Copy and Paste this?
Click here for a copy-and-paste friendly version of this code!
//**************************************
// for :[ a Winsock Chat Example for DUMMYS ]
//**************************************
UNDERSUN Studios.
Fucci, Leonardo Hernan (UvChenko)
visit www.meetfinder.ar.tc for chating whit your friends with my programm, based on VB6!!!
UNDERSUN Programacion:::...
 By Fucci, Leonardo Hernan (UvChenko)
 see www.meetfinder.ar.tc for knowing people with my programm!!!
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 1 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Intermediate category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments
4/13/2004 11:08:45 PM

The Winsock.Net only transmit on Binary Mode? the Winsock.6 transmit also in Ascii.... We must do Allways a Conversion from Binary to Ascii???
(If this comment was disrespectful, please report it.)

 
4/13/2004 11:09:42 PM

Congrats!!!, very usefull and Clear...
Very easy to understand.
(If this comment was disrespectful, please report it.)

 
7/18/2004 8:20:59 PM

2 lib is missing...
AxMSWinsockLib & MSWinsockLib...
please help...thanks!!
(If this comment was disrespectful, please report it.)

 
7/19/2004 8:24:28 AMFUCCI, Leonardo Hernan

that problem could be because you have a different version of .NET - but if you can see the source code, it works the same with bouth versions, so you can use it with your version of .Net.... Tanks!
(If this comment was disrespectful, please report it.)

 
11/28/2004 10:35:35 AM

this is really helpfull for me


(If this comment was disrespectful, please report it.)

 
12/2/2004 12:08:22 PM

I am having a problem getting it to
run, apparently due to the Winsock
component not being loaded. Could you
explain how to add this component in
.Net? thanks.

(If this comment was disrespectful, please report it.)

 
4/29/2005 5:07:33 PM

Dear Sir,
I am a beginner of this language and therefore can't understand most of it. If you please send me some resources about this language and names of web sites or study materials along with your valuable opinion how to learn it quickly and efficiently, i will be very very grateful to you.
Thanking you
Tanmoy Saha
(If this comment was disrespectful, please report it.)

 
5/7/2005 11:10:43 PM

I've been looking ALL OVER for something like this. This really helped me and I'm sure it helped other VB6 coders as well. The commenting made everything easy to understand. Good work.
(If this comment was disrespectful, please report it.)

 
5/16/2005 12:52:22 AM

Hi,
I found that i need to load the vb6 woinsock component in order to use this winsock. Is this a wrapper for winsock ? And when we deploy the application, do we still need to include the vb6 winsock control as well ?
Anyway, good work.
(If this comment was disrespectful, please report it.)

 
5/18/2005 7:51:35 AMSaravananGovindasamy

This might be a very simple winsock code, but it clearly shows the difference between VB6 and VB.Net. Its great to any VB6 guys who needs to know how does winsock look like in VB.Net. (5 Stars from me)
(If this comment was disrespectful, please report it.)

 
7/1/2005 2:21:53 PMARichardson

Has anyone found the .dll that is missing? AxMSWinsockLib and MSWinsockLib?
(If this comment was disrespectful, please report it.)

 
9/30/2005 10:25:15 AMMarcelo Almeida

Leonardo, could you specify the other version for those 2 dll files that are missing? I donīt seem to find any dlls with similar names. Please Help.
(If this comment was disrespectful, please report it.)

 
1/26/2006 6:48:34 PMeXplicitAnimosity

OMG YES! PEE ON MICROSOFT YESSSSSSSS lol
Love the code man gr8 work aye , I love the Author Pic tho, ace man, keep it up haha...
(If this comment was disrespectful, please report it.)

 
4/22/2006 2:11:07 PMSam C.

Yes! This code is just what I needed to complete my program!
5 globes
(If this comment was disrespectful, please report it.)

 
6/20/2006 2:18:23 AM

change password
(If this comment was disrespectful, please report it.)

 
7/13/2006 4:01:42 AMCory

Ran well, even in VS2005.
Thanks for the example!

Don't piss on MS! They're not that bad...
(If this comment was disrespectful, please report it.)

 
9/6/2006 10:32:08 PMhervine

thanks
(If this comment was disrespectful, please report it.)

 
10/13/2006 8:13:28 AMAgent Orange

Has a picture of himself peeing on microsoft, but writes in VB hmmm.
(If this comment was disrespectful, please report it.)

 
11/3/2006 4:43:25 AMBright

Has anyone found the .dll that is missing? AxMSWinsockLib and MSWinsockLib?
The Program seem to be a very good and important piece of code yet i cant work around it - can someone help me to execute this code for the first time, keep giving me errors "missing AxMSWinsockLib and MSWinsockLib
"
-----help me please---
(If this comment was disrespectful, please report it.)

 
12/7/2006 5:29:38 AMShevan Rey Albon

hi! I have trouble in adding MS Winsock control ocx in my vb dot net project, anyhelp?
(If this comment was disrespectful, please report it.)

 
6/2/2007 2:40:58 AMArturo

Hi! How do I add winsock on VB.NET ????
i need help!! please
(If this comment was disrespectful, please report it.)

 
7/7/2007 12:24:14 PM

can u tell me when i download this project this is not open?????plz help me........
(If this comment was disrespectful, please report it.)

 
8/6/2007 5:25:42 AMLordcedrick

hello... i just want to ask if you know how to create a multiconnection connection using this winsock? i think is nice if you know and share with us?
(If this comment was disrespectful, please report it.)

 
3/16/2008 7:44:49 AMiman

thats very good
(If this comment was disrespectful, please report it.)

 
8/13/2008 11:33:17 AMVic

it's great!! ang galing!
(If this comment was disrespectful, please report it.)

 
8/13/2008 11:34:15 AMVic

It's Great!! thanks!!
(If this comment was disrespectful, please report it.)

 
10/4/2008 10:13:32 AMK

K
(If this comment was disrespectful, please report it.)

 
1/20/2009 2:28:41 PMArijit Das kolkata

Get Free IT SOLUTIONS visit (software development)www.freeitsolutions.co.nr
(If this comment was disrespectful, please report it.)

 
11/11/2009 12:17:23 AMBRAJJ

DSW
(If this comment was disrespectful, please report it.)

 
3/15/2010 5:31:45 AMSilence Heart

what happen with me.

I can't run it. There is an error message = The Application for project 'D:\...\windowsApplication1.vbproj' is not installed. Make sure the application for the project type (.vbproj) is installed.

I run in Visual Studio 2005


(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.