Posts Tagged ‘Winsock’

Video 42: VB 6 Programming, Winsock TCP/IP Explaination Part 2


Part 2 of explaining how to create a multiclient application.

My computer will not connect to the internet, winsock problem?

My computer was working just fine this morning. The only new software I downloaded was when I updated Apple Quicktime. I tried restoring to a previous restore point which failed. The network connection seems to be stuck in trying to obtain an IP address. I opened command prompt and typed
C:\>ping 127.0.0.1
which resulted in the following error message:
unable to initialize windows sockets interface, error code 0.

I’m not completely clueless when it comes to computers but networking and connections problems are not my strong point.
Can anybody give me step by step directions on how to restore a connection to the internet?

The problem computer is running Windows XP home, in classic view, if that helps.
PLEASE note I requested step-by-step instructions on a resolution.
To Michele C: From where do I get this file and where exactly in my computer am I to save it?

Remote Desktop Softare VB6 – Winsock?

Im looking to develop for the first time a remote desktop software using VB6 (Now I know ,Net is out) and I have a copy just never bothered with it as I find VB6 easier to use.

Im looking to create a programme that team managers in call centres etc to tune into to the screen of ALL their team menbers

For instance a team has 9 staff members
It would be a programme with 9 screens displaying what they are up to on their computer
The same as LAN Employee Monitor 3.7

How can I get screenshots or even live video of the IP its listning to
Example screenshot of LAN Employee Monitor

http://img.sharewareplaza.com/soft/64442/lan-employee-monitor-1.gif

Help with Winsock VB?

CLIENT
AxWinsock1.RemoteHost = “192.xxx.x.xx3″
AxWinsock1.RemotePort = 1001
AxWinsock1.Connect()
AxWinsock1.SendData(“Test”)

SERVER
TxtServerIP.Text = AxWinsock1.LocalIP
AxWinsock1.LocalPort = 1001
AxWinsock1.Listen()
Mpla Mpla Mpla…
AxWinsock1.GetData(stri)

Client ans Server are TWO different applications.
When i run both on the same pc, everything are perfect..
But when i put the one on a differnet pc in my network then
doesnt works.
Can anyone help???

winsock question on socket creation?

SOCKET s = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);

in second parameter u choose stream or datagram which is tcp or udp… so what is 3rd parameter for? there u say AGAIN if u use udp or tcp? wat if u said in 2nd para SOCK_DGRAM and in 3rd para IPPROTO_UDP ??
i ment what woudl happen if u typed in 2nd: SOCK_DGRAM and in 3d para: IPPROTO_TCO
not TCO i mean TCP lol sry

i deleted winsock and winsock 2 from registry, how do i get them back. i screwed up.?

running xp sp2, have external drive and have duplicated my c drive on it(prior to my screwup). restore wont work. there must be a file(s) on my backup i could transfer, I hope? my internet wont connect now and my com wont generate an ip address. i run ipconfig and there is a question mark next to ip address. repairing the connection i get–cannot repair–cannot renew ip address–help

what does this erroe mean: 500 No Data (Winsock error #11004)?

basic c++ winsock server?

i need a step by step tutorial

what to do with bad winsock?

what is a winsock provider?

Whats the best winsock fix for PC?

My msn connects but exploer doesnt unless i’m in safe mode.I tried winsock and malware…?

…bytes.I need help urgently.
i put a question about this and someone suggested i use winsock but i did and still i wasnt able to connect to internet in normal mode.I even tried malware bytes and even though it found problems it didnt fix my connection problem.I also tried clearing dns and arp cache. The only thing that seems to be connecting in normal mode just now is my msn messenger but nothing else.I am only able to open internet explorer and connect to use google etc in safe mode with networking. I cannt understand it i also done a adaware scan too and used cc cleaner as well and also tried using the registry cleaner on cc cleaner as well and still i am not able to get connected to inetrnet explorer so i can surf internet in normal mode.Somone suggested download winsockfixer if it didnt fix it they said it may be a virus, i have used scanners and still got no connection to internet explorer in normal mode.what do U suggest its a sony vaio laptop and I am on xp and dont have recovery disc.

what is winsock service?

In Visual Basic 6, why can’t I connect and send with Winsock using the same button?

I’m making a login program and wanted to to use Winsock to send the username and password to a remote computer. I wanted to connect to the server program and send the data using the same button, but I always get an error saying “Wrong protocol or connection state for the requested transaction or request.”.

Is there anyway around this? If not, what can I do?
Forgot to mention that my program has both login and register in the same form (tabs). Both have to connect to the server. If I have to, I can put them in separate forms.

Adding this just in case it makes any difference.

how can i send a data file by winsock in visual basic?

Does anyone here know of any good Winsock tutorials?

So.. I’ve found, like, billions of things for socket programming with Linux, but aside from creating a simple client/server, I’ve found nothing for Windows.
Primarily, does anyone know of anywhere, if anything has information on multi-client servers (forgot what those are called) and/or raw packet creation?
So little information seems to be provided on Winsock that it took me months to get a simple Client/Server working, and I’ve been searching for over a month for a multi-client server, and merely a week for the raw packet creation/sending of.

So… does anyone happen to have an answer? (it seems my questions tend to never get good answers >.<) Please?? O.o

Winsock problem VB6 Programming?

People I got an issue
I have a script which can capture a screenshot and put it into a variable but not able to transfer the image down winsock1.send data

Any suggestions on how to transfer an image from the memory to another computer (No file saving)

C / C++ Network programming problem… Using Winsock… Problem in connectivity… Plz help?

Hi
I am writing this hobby program which is a simple, my own chat program. I am using WINSOCK for that, as i am doing this on Windows platform (Linux users don’t hate me, Even i love Linux ).

All it does (or probably it has to do) is that it connects to the copy of same program on Port XXXXX (Any random port, which i would decide while finalizing, i am now trying with some random numbers). And communicate with each other.

Ok, now the problem statement….

I got a ADSL broadband connection with BCM96338 router @ my ISP.
I am not able to connect through internet to another computer running my program @ my friend’s house. I am using the external ip-address itself, not the internal ip-address.
Whenever my program try to connect, it fails miserably (I don’t think its programming error, because while testing by connecting to myself using 127.0.0.1, it passed the test).

I saw on internet that, ROUTERS act FIREWALLS (Damn !!! I didn’t really ask for it…) and hence people’s computers on otherside of router (Connecting to internet via these routers) don’t really possess true connectivity.

So people, what exactly should i do to make my program work…

Please ask me if you need more information…

Thanks in advance…

Chethan KR ( chethanchallakere@yahoo.com )

Visual Basic 6 – Help me with winsock i’m a newbie?

I’m trying to make a small multiplayer game in VB6 using winsock but I’m kinda new.

My problem is that every examples that i’ve seen only shows how to store the received data in a single variable or display it in a text box.

How do i make it so that each packet data received is stored in a specific variable where it should belong?

Example: If the server sends his X, Y Position or Hitpoints it is stored in the other.xpos, other.ypos or other.hp variable on the client.

C / C++ Network programming problem. Using Winsock… Problem in connectivity… Plz help?

Hi
I am writing this hobby program which is a simple, my own chat program. I am using WINSOCK for that, as i am doing this on Windows platform (Linux users don’t hate me, Even i love Linux ).

All it does (or probably it has to do) is that it connects to the copy of same program on Port XXXXX (Any random port, which i would decide while finalizing, i am now trying with some random numbers). And communicate with each other.

Ok, now the problem statement….

I got a ADSL broadband connection with BCM96338 router @ my ISP.
I am not able to connect through internet to another computer running my program @ my friend’s house. I am using the external ip-address itself, not the internal ip-address.
Whenever my program try to connect, it fails miserably (I don’t think its programming error, because while testing by connecting to myself using 127.0.0.1, it passed the test).

I saw on internet that, ROUTERS act FIREWALLS (Damn !!! I didn’t really ask for it…) and hence people’s computers on otherside of router (Connecting to internet via these routers) don’t really possess true connectivity.

So people, what exactly should i do to make my program work…

Please ask me if you need more information…

Thanks in advance…

Chethan KR ( chethanchallakere@yahoo.com )

Categories
  • Most Popular Posts

  • Powered by Yahoo! Answers