Dear all,
I am trying too use sockets for IPC communication on one and the same
machine. When following code is executed windows firewall pops up. Is there
any possibility to use sockets without a risk to be blocked by firewall.
private void ListenIPC( ){
while(true){
TcpListener tcpListener = new TcpListener(10) ;
tcpListener.Sta rt();
Socket socketForClient = tcpListener.Acc eptSocket();
if (socketForClien t.Connected) ... 4 2959
"Boni" <no****@parampa m.pam> wrote in message
news:OH******** ******@TK2MSFTN GP09.phx.gbl... Dear all, I am trying too use sockets for IPC communication on one and the same machine. When following code is executed windows firewall pops up. Is there any possibility to use sockets without a risk to be blocked by firewall.
You need to use the Windows firewall API to open a port to yourself to make
it work in all cases.
See http://msdn.microsoft.com/library/en...asp?frame=true
Yes, it's a pain.
-cd
Hi Carl,
is there any simple sort of IPC between managed and unmanaged on local
machine which is bidirectional, fast and don't care firewalls?
Thanks a lot,
Boni
"Carl Daniel [VC++ MVP]" <cp************ *************** **@mvps.org.nos pam>
schrieb im Newsbeitrag news:OY******** ******@TK2MSFTN GP11.phx.gbl... "Boni" <no****@parampa m.pam> wrote in message news:OH******** ******@TK2MSFTN GP09.phx.gbl... Dear all, I am trying too use sockets for IPC communication on one and the same machine. When following code is executed windows firewall pops up. Is there any possibility to use sockets without a risk to be blocked by firewall.
You need to use the Windows firewall API to open a port to yourself to make it work in all cases.
See http://msdn.microsoft.com/library/en...asp?frame=true
Yes, it's a pain.
-cd
Boni wrote: Hi Carl, is there any simple sort of IPC between managed and unmanaged on local machine which is bidirectional, fast and don't care firewalls?
Named pipes would seem a logical choice. Another option would be something
custom built using shared memory.
-cd This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Thomas Dybdahl Ahle |
last post by:
Hi, I'm writing a program using sockets, but it doesn't work if the
host/server has a firewall/router (don't know if only the client has a
firewall)
I get a "unable to open IO stream" error at runtime. Is their anyway to
handle this? I heard something about proxies? Is it the thing?
If it is, then how do you use them with sockets in java?
--
Programmers should realize their critical importance and responsibility in a
world gone...
|
by: Ted |
last post by:
Hello all,
Please could somebody with a little time on their
hands help me with my net sockets program?
The aim is to send multiple transactions via C#
network stream and read them back. The source
is designed to send a 50byte header and read
the result (50bytes). For one run this is fine,
however since i'll be using multiple transactions
|
by: Shaniqua Jones |
last post by:
I've designed a C# application consisting of two EXEs: a client and
server. The server runs on my Win2000 Server box, and the client runs on my
customers' machines -- typically XP. The client app connects to the server,
makes a request, and awaits a response. The server sends back the response
at which point the client disconnects. The connection takes place on port
20198 (TCP). My server app was coded in such a way that only 10...
|
by: Ken Hughes |
last post by:
Hi
I'm looking for some advice on architecure - apologies if this is the incorrect group..
I'm writing a VB app and it has to pass data to a another server machine (in a different office). There is no permanent connection between the two machines also the server machine does not have a 'public' server. So I'm planning on having the remote machine use RAS to connect to the server
The Question
I have to pass some data (XML ??) from the...
|
by: Tiraman |
last post by:
Hi,
if i need to send some data over the net to server
what is the best way (http , socket or other ) to do that ?
Best Regards ,
Tiraman :-)
| |
by: altaf.sunesara |
last post by:
Hello !
I have some devices which communicate trough LAN to the server the old
form i was using was FTP as a communication between Server and Client i
have decided to use personal TCP sockets instead of using the FTP
protocol. Well im familar with sockets but some concepts im not able to
get it. I would be using Vb.Net as a server program but the question
pampering my brain is for eg .. ip 192.168.0.0.1 tries to communicate
on the...
|
by: rodmc |
last post by:
I am new to Python and have been writing some socket based programmes
on Windows (with some success), however I am unable to get them to work
on Mac.
Are there differences in the way the socket module works on Windows and
Mac? I would appreciate any simple code samples people my have for
creating a very basic server on Macpython, I have copied code from
various tutorials but as yet they don't appear to work.
Thanks,
|
by: kshetgar |
last post by:
I am experiencing a wierd problem...
I have a C#.Net application Server which uses Sockets.
It listens on port 11000. and it runs as a Windows Service.
If I run it as a consple Application, I can connect to that
port/Application from any machine on the network as well as from my
local machine.
|
by: bmearns |
last post by:
Is it possible to specify which port to use as the outbound port on a
connection? I have the IP address and port number for the computer I'm
trying to connect to (not listening for), but it's expecting my
connection on a certain port.
Specifically, I'm trying to write an FTP host, and I'm trying to
implement the PORT command. From everything I've read, the client
supplies the IP address and port number for where I'm supposed to
connect...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
| |
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
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 we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |