AsyncClient.cs(247,40): warning CS0618: 'System.Net.IPAddress.Address' is obsolete: 'This property has been deprecated. It is address family dependent. Please use IPAddress.Equals method to perform comparisons.
View Complete Post
I am creating one application with socket programming.
I am using visual studio 2008 with windows 7.
I am getting a error Message...
"No connection could be made because the target machine actively refused it 127.0.0.1:5656"
IPAddress ipAddress =
Dns Webservice using socket layer programming Hi, I want to access a webservice in asp.net programming. This webservice was done using socket layer programming and also i am having the ipaddress and port address. Did any one know about how to access webservice using socket layer and if know let me know how to access the webservice. Thank you
I want to access a webservice in asp.net programming. This webservice was done using socket layer programming and also i am having the ipaddress and port address. Did any one know about how to access webservice using socket layer and if know let me know how to access the webservice. Thank you
I'm trying to use PGM sockets to send data. I can listen and receive data fine from a PGM socket using a non-admin account, but when I try to create a socket to send data I get an exception at this step:
socket.Bind(new IPEndPoint(IPAddress.Any, 0));
The exception is:
An attempt was made to access a socket in a way forbidden by its access permissions
Note that if I run the same code under an admin account it works fine. Is there a way to create a sender PGM socket without running under an admin account?
I created two services and their clients. One service calls second inside its method. I use impersonation from client to call first service that uses impersonation to call second service, and then i get exception:
Could not connect to
Server stack trace:
ÃÂ ÃÂ at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.GetOutputStream()
ÃÂ ÃÂ at System.ServiceModel.Channels.HttpOutput.Send(TimeSpan timeout)
ÃÂ ÃÂ at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.SendRequest(Message message, TimeSpan timeout)
ÃÂ ÃÂ at System.ServiceModel.Chan
Am using socket connection to send and receive values. The following code is used to receive response.
while ((sizeReceived = skt.Receive(bytesReceived, bytesReceived.Length, SocketFlags.None)) > 0)
nTotalBytes += sizeReceived;
sCleanresponse += Encoding.ASCII.GetString(bytesReceived, 0, sizeReceived);
//Giving time to read the remaining amount
if (skt.Available > 0)
In the above code, am facing a prob in skt.Available. If i dont give the thread.sleep, it is not repeating the while loop and it exits after onetime. And if i dont give skt.Available line, sometimes it throws socket Exception. I do not want to use thread.sleep. Does anyone knows why this is happening and how can i resolve this?
Actually i am developing an app which send audio file from client to server and server read the byte and save that file in waver format problem is that i want to send buffer size of audio file or audio length to server but didint get the same size
so plz help me regarding this prob
i am using c#
I am about exhausted trying to figure out this error:
Description: The page cannot be displayed because an internal server error has occurred.
Error Code: 0x8007007b
Requested URL: http://localhost:80/ReportServer
Physical Path: c:\Program Files\Microsoft SQL Server\MSSQL.2\Reporting Services\ReportServer
When I enable Failed Request Tracing Rules and view the log output I am supposing that the actual problem is in the 2nd call where there are 2 backslashes before the actual filename in the specified path:
How do i handle 404 page not found?
I am creating a web form that requires a lot of validation. I use many of the validation control in asp.net already like RequiredFieldValidator and CompareValidator.
My Problem: after my custom validation for the value entered return an error message, and I pressed enter key when the field is empty, my custom error message is overlapped by my ValidationSummary.
Setting my custom error to visible = false on button click also does not seem to work as it requires for me to enter the value first.
This made me think, is there a way to insert my custom validation inside the ValidationSummary as an error message like for other validation control?
Thanks in advance
Let's say we have 2 time consuming functions, aaa and aaa1 inside a aspx page.
public static string aaa(int i)
public static string aaa1(int i)
<asp:ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="true">
<input type="button" value=