Do I need port forwarding? [closed] - c#

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I'm sending simple messages from an Android client to a PC server using TCP sockets. They are on the same WiFi network (connected to the same router). Do I need port forwarding for this?

No, you do not need to port forward. You might need to open the port on your firewall, however, so make sure you do so. Port forwarding is for opening ports to external networks.

Related

Send a open port request to router [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am creating a peer to peer application in c sharp, I was wondering if it was possible to send a request to the other persons router over the internet and ask it to open port 1234, or if there is any other way of uploading and sending data without port forwarding, or even an application that i can port forward my router via command line or dll would be great. Please help me for this is making me frustrated.
There is no way for an outside app to tell a router to open a port to one of its local machines. This would be a huge security hole.
If a local machine wants access from outside, it could use UPnP (NAT Traversal) to tell the router to forward a port to it (or you could simply configure your router to forward the port).
If both peers are behind NAT with no access to port forwarding, you would have to use some 3rd party server that proxies the data.

Using TTL without ping [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
Are there any ways to use Time-to-live value with a tcp or webrequest? In some networks icmp and echo packets are not allowed. I need a way to limit a request with specific TTL value.
You can use System.Net.Sockets.Socket.Ttl to set the TTL if you are creating the socket yourself. I suppose you could do this if you want to make a web request over it: C#: How to execute a HTTP request using sockets?

How to Configure VPN Client in Windows CE 6.0 Device [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I have WinCE 6.0 device with internet connection, I want to communicate this device using VPN. But i'm unable to configure VPN Client in the device. Is there any VPN Client software i need install on my device?? Please help me to proceed.
Thank you.
You can try with MOVIAN / ANTHA VPN Client for Windows CE..
Movian/Antha Resouce Page

How can i use .net Remoting over internet [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I have two application on different computers than connect to each other by Remoting Channel.
I want to control server from client on different network (over Internet).
How i can do that?
Is it possible to configure Remoting to bypass/punch holes in NAT?
In general, I would recommend using WCF instead of Remoting, especially if you're going to try to work over the internet.
Neither technology will bypass your firewalls, though WCF does provide far more options for configuring the channel which is used for the communication. This often makes it simpler to provide an endpoint that will work for internet connections and communication.

sending data over RS-232 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I have some application that communicates via a RS-232 serial port.
Is there some application or library that I can use to send data to a local serial port?
I need it to be able to locally debug my application.
If your looking to virtulize a serial port in code, then this will do the trick for you.
http://com0com.sourceforge.net/
As for .NET code, then the "SerialPort" class is incredibly easy to use, a good reference (Iv'e used many times) can be found here.
http://msmvps.com/blogs/coad/archive/2005/03/23/SerialPort-_2800_RS_2D00_232-Serial-COM-Port_2900_-in-C_2300_-.NET.aspx
Using the .NET serial class, you can do what you need in very few lines of code. Be aware though, you WILL need to use delegates to update your UI.
There are plenty of options when it comes to sending through RS232. Here are some applications that may help you to sent data using RS232:
RS232 Hex Com Tool -which is a serial software terminal program that can be used to communicate with just about any RS232 peripheral.
COM Port Data Emulator -it can create a data flow, wrap it to data packets (RS232, TCP/IP or UDP) and send to a port.
Serial Port Monitor - which also may be helpful with your problem.
Anyway, its up to you what you will choose. Good luck!

Categories