473,406 Members | 2,208 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

How to create a client server app

Hello,

I'm just recently moved up to .NET, and because in my old
networked applications I used the Winsock control which
vb.net doesnt support naturally, i dont want to use it
anymore. So, I was poking around in the standard objects
stuff, and i found that you can use the system objects
supports sockets. i got very excited about this, and then
i relized that it didnt provide support for listening to
see if you have a new message in the buffer... does
anyone know how to create it so that it works like the old
winsock control...

thanks in advance
matt
Nov 20 '05 #1
3 1842
Hi Matt,

Don't know very much about the winsock control in vb 6, but can't you use it
as a com object using interop services? A bit 'non-managed', but you'd get
all the functionality you're used to in this fashion.

HTH,

Bernie Yaeger
"Matt" <an*******@discussions.microsoft.com> wrote in message
news:00****************************@phx.gbl...
Hello,

I'm just recently moved up to .NET, and because in my old
networked applications I used the Winsock control which
vb.net doesnt support naturally, i dont want to use it
anymore. So, I was poking around in the standard objects
stuff, and i found that you can use the system objects
supports sockets. i got very excited about this, and then
i relized that it didnt provide support for listening to
see if you have a new message in the buffer... does
anyone know how to create it so that it works like the old
winsock control...

thanks in advance
matt

Nov 20 '05 #2
Thats not really what Im after, I hated the winsock
control. So what I'm really asking is how to do
networking in VB.NET. I could use the winsock control,
but i'll only do that as a last resort because not many
computers actually have the DLL's and OCX's need to run
it...

matt
-----Original Message-----
Hi Matt,

Don't know very much about the winsock control in vb 6, but can't you use itas a com object using interop services? A bit 'non- managed', but you'd getall the functionality you're used to in this fashion.

HTH,

Bernie Yaeger
"Matt" <an*******@discussions.microsoft.com> wrote in messagenews:00****************************@phx.gbl...
Hello,

I'm just recently moved up to .NET, and because in my old networked applications I used the Winsock control which
vb.net doesnt support naturally, i dont want to use it
anymore. So, I was poking around in the standard objects stuff, and i found that you can use the system objects
supports sockets. i got very excited about this, and then i relized that it didnt provide support for listening to
see if you have a new message in the buffer... does
anyone know how to create it so that it works like the old winsock control...

thanks in advance
matt

.

Nov 20 '05 #3
On 2003-12-09, Matt <an*******@discussions.microsoft.com> wrote:
Hello,

I'm just recently moved up to .NET, and because in my old
networked applications I used the Winsock control which
vb.net doesnt support naturally, i dont want to use it
anymore. So, I was poking around in the standard objects
stuff, and i found that you can use the system objects
supports sockets. i got very excited about this, and then
i relized that it didnt provide support for listening to
see if you have a new message in the buffer... does
anyone know how to create it so that it works like the old
winsock control...

thanks in advance
matt


Basically, your wanting the events... Well, you basically can get that
using asyncronous sockets in .NET. A good staring point for information
on using sockets in .NET is here:

http://msdn.microsoft.com/library/de...consockets.asp

--
Tom Shelton
MVP [Visual Basic]
Nov 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Prashanth Uppunda | last post by:
Hello, Does anybody have an idea on how to instantiate a DCOM server residing in another machine using C#? Thanks Prashanth
0
by: Nate | last post by:
Hi All, I am having difficulty creating a new instance of a proxy for an XML Web Service in my Web Form Client (VB) .NET code. When I try to run my 'hello world' file, hw.aspx, I receive the...
1
by: luciano | last post by:
Hi everyone, I want to create a application and a webservice, application connect to web service to activate, web sevice will create a certificate to authenticate this client, for each...
6
by: Steve Richter | last post by:
I am getting error in a vbscript: ActiveX component cant create object: Excel.Application. The vbscript code is: Dim objExcel Set objExcel = CreateObject("Excel.Application") I am pretty...
9
by: Bob Achgill | last post by:
I would like to use the timestamp on files to manage the currency of support files for my VB windows application. In this case I would only put the timestamp of the file in the management database...
2
by: thilandeneth | last post by:
i need to do telnet via a web server please give me a idia to initiate the project following requirements are needed 1 Create web based custom telnet client to communicate with remote...
7
by: jwang | last post by:
I am trying to instantiate a COM component in C# via late binding. The component appears to be launched, then it automatically gets unloaded. That is, the instance is unloaded after the...
7
by: thisis | last post by:
Hi All, i have this.asp page: <script type="text/vbscript"> Function Body_Onload() ' create the object Set obj = Server.CreateObject("UploadImage.cTest") ' use method of the object...
2
by: Peter | last post by:
Firstly let me be very clear about this, I do not want to create a web service proxy nor do I want to do anything with web services. Basically, I have a shrink wrapped desktop application which...
2
by: kirthi.amudha | last post by:
Hi, I have app dev client installed on my machine. Can we create the sample database using db2sampl. I was able to create database using the 'Create Database' command. But I am not able...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.