It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I am developing c# application, in which this application is act as server.My front end is flex application.when i am testing my application through browser i passed a url as below.
http://serverip:8082/item/detail/2210
As response it was showing not serviced, no valid session.
But when I tried from different machine I got the response back perfectly.
Can any one please tell why it is happening.
its a non standard port, you may have to open the firewall to allow eternal address or subnet to access? A good way I usually use to test this is using Telnet
telnet.exe serverip serverport
Other things could be DNS or Host Headers in IIS
Cheers
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I am new to SharpPcap and I am confused. How can I use it for enabling and disabling internet connection using C#, is there any built in functions for this purpose?
Are there any tutorials available for SharpPcap?
SharpPcap, and the lower level libraries libpcap/winpcap, are designed to observe and capture network packets. They don't have the ability to alter packets before they are transmitted, or to block incoming packets (such as a firewall might do).
There may be a way to disable network adapters or networking via c#, a quick serach on google turned up this page, but this functionality isn't something SharpPcap or other capture libraries are involved in.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I need to get up and running quickly with a MT TCP server implemented in C#, as a proof of concept. I am looking for an open source implementation of such a multi-threaded TCP server in C#.
I came across this link, but it is almost a decade old!. I can't seem to find anything more recent. Is anyone aware of a more recent implementation of a MT TCP server?
There is a relatively complete sample of a highly scaleable TCP server at http://msdn.microsoft.com/en-us/library/system.net.sockets.socketasynceventargs.aspx.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I have created a dynamic data website in visual studio 2010 using C# and ASP.NET
When a user creates a request (for example a request for software installation), i would like that request to go into some kind of queue. So that i can check the users request and either allow or deny it.
Can someone help me with this ?
Store all request in a database, and add a flag that it has not been processed
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I want to add a function in my C# program that can synchronize the time between linux and windows, is there any way to do this?
One solution is to run an ntp server on the Linux server (many distributions either include one or make it easy to install), then use some sort of NTP client from within your program. One approach to the .NET side is here, but instead of using a public time server, you would want to use the address of the Linux server.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
i want to implement my first windows service application.
this app must run day and night. it should to send each 1 hour http request with possibility to make snapshot of requested webpage and save it in database.
can you show me some c# code examples how to:
make http request from windows service.
set a timer for requesting each 1 hour.
send e-mail that snapshot is successfully saved in DB.
thank you!
The following 3 MSDN pages should get you started.
Make HTTP Request: http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest.aspx
Working with timers: http://msdn.microsoft.com/en-us/library/system.timers.timer(v=VS.100).aspx
Emailing: http://msdn.microsoft.com/en-us/library/system.net.mail.mailmessage.aspx