473,503 Members | 8,784 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Using Winsock in vb6 facilities with more than one network card

1 New Member
I am working on vb6

I have a pc with 2 network cards.
I want to send messages and make sure it comes out of a particular plate.

After making socket.bind to do Socket.connect gives me error "Invalid operation at current state"

When I do the socket.status socket.bind gives me 1 (open) and no longer supported but the attached

Can anyone guide me how to do it

thanks
Dec 10 '13 #1
0 835

Sign in to post your reply or Sign up for a free account.

Similar topics

2
3586
by: Daniel | last post by:
when i use stream writer to write to a shared folder, and the network card of that remote computer is disabled in the middle of the write then reenabled later. every time i try to write to that...
0
945
by: Sreekanth | last post by:
Hi all, Is there any way to get the details of a network card programatically thro' Python? Moreover I would require to change the network adapater/Card's Link state enabled/disabled also...
0
1365
by: buck | last post by:
I am looking for a way to disable and active network card using c#. I have a laptop that has two network cards, cardA and cardB. When cardA is connected to a Lan I want to disable cardB. If...
1
5915
by: knopper | last post by:
Hi, Any body know how to disable a network card using c# ? Or to simulate a "cablbe unplugged". So the network card sysmbol shows only a red x, however it a ether is still plugged in. thanks...
3
6037
by: Mark Prenter | last post by:
Hello, I'm trying to find a way to retrieve the MAC address from a network card in a Visual C++ .NET managed application. I've found some examples in C#, but I just can't get them to work in C++....
4
2143
by: Jefe | last post by:
Hi everyone, I used multithreading for a network application using Winsock. so when I receive a message in my secondary thread, I raise an event to upper layer and in that event handler when I try...
5
11134
by: Paul Bromley | last post by:
How do I know which IP address is active?? I have created the following class and this works well, but the first address it obtains on my machine is not the active one - in fact I do not know...
0
2698
by: tekeste | last post by:
I have NEC Mobile Pro 900. I can not use it with any of my usb flash drive, and network card.it's windows Ce .net 4.0 running on it. would you please tell me where I can find usb flash disk and...
2
1932
by: Salad | last post by:
If I work on my app on my standalone, things are always fast. If I have an non-split app on the network it runs fast. If I split the app and have both the front end and backend on the network...
5
7179
by: kevinn7 | last post by:
Below is my code which enables and disables all network cards in my PC. It works fine but when I execute this code on a normal User Account, i get the exception " Unable to read beyond the end of...
0
7070
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
7316
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6976
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...
1
4993
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...
0
4666
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3160
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1495
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
729
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
372
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.