Click here to Skip to main content
15,914,419 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi every one,

I want to tranfer data between two computer via separate wifi (ad-hoc network), one computer is AP and another is client. All of works I hope make by using C#. Now I were create a ad-hoc network success, but did not find how another computer can connect to it by using C# (automatic, not manual connect). Some body can help me solve this problem?

Thanks for any ideal.
Posted
Comments
Richard MacCutchan 4-Sep-13 4:34am    
You just need to use the IP address of the other computer.
Tuyển Đỗ 4-Sep-13 4:48am    
Can you explain clearly your mean?
Richard MacCutchan 4-Sep-13 4:56am    
Well I don't really know anything about your program, but I assume you are using sockets. If that is so then you just create a client server application and connect by using the IP address of the target computer.
Tuyển Đỗ 4-Sep-13 5:04am    
In my knowledge, if I want to using sockets, my computer has to connect to same network, after that they can passing data via sockets. But now two computers are not connect to any network, one of them has to create own ad-hoc network and another will connect to this. all of step are programatically. I were create this network successfull but do not know how another computer can programatically connect to this network (not manual connect). how I can?
Richard MacCutchan 4-Sep-13 5:52am    
Both computers must be connected to the same network for any data transfer to be possible. This can be a wired or wireless connection.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900