15,895,799 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Prajakta Bhagwat (Top 8 by date)
Prajakta Bhagwat
4-Aug-12 9:18am
View
Thank you so much friend..
I'll try solving this way.
Prajakta Bhagwat
12-Jun-12 3:06am
View
Thank You,
I'll mind this next time onwards :)
Prajakta Bhagwat
5-Dec-11 7:11am
View
but can u help me with this code i want to asynchronously receive data how can i modify this code?
Socket sock = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp);
IPEndPoint iep = new IPEndPoint(IPAddress.Any, 8000);
sock.Bind(iep);
EndPoint ep = (EndPoint)iep;
byte[] data = new byte[1024];
int recv = sock.ReceiveFrom(data, ref ep);
string stringData = Encoding.ASCII.GetString(data, 0, recv);
DialogResult m = MessageBox.Show("You Have received a Message!");
if (m == DialogResult.OK)
{
this.Show();
this.WindowState = FormWindowState.Normal;
}
label1.Text = "Message: " + stringData;
sock.Close();
Prajakta Bhagwat
5-Dec-11 7:07am
View
now my app is working fine I can send data from server to client as i want i got my error! Thanx for concern frnd!!!! TC
Prajakta Bhagwat
5-Dec-11 6:49am
View
look i did try now i am connecting via udp it is working well but in udp everytime i receive data i need to restart the socket? do u have ny such example which receives continuous data?
Prajakta Bhagwat
5-Dec-11 6:04am
View
yes that i have works fine but i really dont know to send msg from server only to ip not live ip
Prajakta Bhagwat
5-Dec-11 5:50am
View
yes i have many examples in my hand but the main thing is that i want to send msg over an ip which i give not on live. I mean i need not want live ip's. i'll type an address and send msg to it.
Prajakta Bhagwat
3-Dec-11 7:00am
View
hey thanx it was my mistake that i was connecting with a different user name but i hv another query that my app takes an image from a webcam and saves it in a folder and only its path goes to database but now on other system i dont have cam so wen i run prog it shows object reference not set to an instance of the object. In future if i hv error in cam will this code wont work?
Show More