|
can u suggest me 2 start socket programming.
i 'm still a begineer and i hv no knowledge of socket progg.
suggest me some books .
|
|
|
|
|
You don't say what language your wanting to use is so here's a good book for C#:
"C# Network Programming" by Richard Blum.
EuroCPian Spring 2004 Get Together[^]
"You can have everything in life you want if you will just help enough other people get what they want." --Zig Ziglar
|
|
|
|
|
Make a search Socket programming from google.com etc
Magic has often been thought of us the art of making dreams come true; the art of realizing visions. Yet before we can bring birth to the vision we have to see it.
|
|
|
|
|
You could, but the information brought up by google can be all over the place - and more-often-than-not is Unix/Linux based rather than Windows based.
As this site is a Microsoft oriented site it is natural that the original poster is looking for microsoft technology oriented answers. The book I suggested is an excellent introduction and reference for Socket programming in Windows using the .NET Framework.
Finally, a good developer should be able to research all avenues available. Google is not the be-all-and-end-all of information lookup. Learning to read a book is infinitely more advantageous than just typing words in to Google and seeing what pops up first.
Also, books can be read off-line, which, especially when doing network programming, is a great benefit. I've done some network programming in the past and it has been fantastic to have a book the guide me when I've messed up the network connection at information is no longer flowing.
"You can have everything in life you want if you will just help enough other people get what they want." --Zig Ziglar
"On two occasions, I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question."
--Charles Babbage (1791-1871)
|
|
|
|
|
Well said, that man. Bring back books!
I've got shelves full of them, and I never suffer from 404 errors.
It does have it's downside, which is finding the stuff you're looking for, but that just encourages me to read them, which might explain why I sometimes seem to be better at my job and brighter than some of my colleagues
Steve S
|
|
|
|
|
Here's a simple client server app.
http://www.csharphelp.com/archives/archive133.html[^]
I didn't verify that it works, but the code looks pretty simple.
I did find this on Google by searching: c# socket
If you want details I'm sure the book suggested above is the way to go.
|
|
|
|
|
Hi,
This one has me stumped..
What is the best way of keeping track of how many times an application has been run?
Meaning: if i need to limit an app to thirty uses before disabling , then what is the best way of going about that?
Kris K
|
|
|
|
|
one thing you can do is create a registry key somewhere in a odd location and increment it everytime the program is run, now you have the idea.
This space is empty.
|
|
|
|
|
|
I wrote a small piece of code that used a cryptostream in combination with a filestream to encrypt/decrypt file data on the fly.
You could use this to store your counter in a heavely encrypted file
I will post an article soon on this subject...
Greetings....
|
|
|
|
|
WillemM wrote:
I will post an article soon on this subject
Wil wait for that and a reply to this message after u post the article would b apprtiated
I was born intelligent Education ruined me!.
|
|
|
|
|
|
thanks
I was born intelligent Education ruined me!.
|
|
|
|
|
How do you detect that your network interface card is 'healthy'?
Especially if you have two of them attached to the same computer and one is however designated as the 'primary' and the second one is the 'backup'?
You can readily tell your primary is fine, because you can read its status or the TCP/IP is going through it, but how do you detect that the secondary is still 'okay'? Do you force TCP/IP loopback through the secondary somehow?
Thanks in advance for any ideas.
|
|
|
|
|
I have the beginings of an article put together, but would prefer to work with an editor here at CP before posting it. The article is about developing a C# class that does database access and is implemented as a web service. I also have a windows form client application that consumes the web service. If one of the editors could work with me to review the article before posting, I would be really grateful. Thanks very much.
Chris Meech
We're more like a hobbiest in a Home Depot drooling at all the shiny power tools, rather than a craftsman that makes the chair to an exacting level of comfort by measuring the customer's butt. Marc Clifton
VB is like a toolbox, in the hands of a craftsman, you can end up with some amazing stuff, but without the skills to use it right you end up with Homer Simpson's attempt at building a barbeque or his attempt at a Spice rack. Michael P. Butler
|
|
|
|
|
Sure I'll review it.
Cheers,
-Erik
|
|
|
|
|
Thanks Eric. I'll put together an email for you later today. I appreciate the help.
Chris Meech
We're more like a hobbiest in a Home Depot drooling at all the shiny power tools, rather than a craftsman that makes the chair to an exacting level of comfort by measuring the customer's butt. Marc Clifton
VB is like a toolbox, in the hands of a craftsman, you can end up with some amazing stuff, but without the skills to use it right you end up with Homer Simpson's attempt at building a barbeque or his attempt at a Spice rack. Michael P. Butler
|
|
|
|
|
I've been really busy with a product shipment and haven't had a chance yet to review your article. I thought I was gonna have more freetime then I turned out to have.
Cheers,
-Erik
|
|
|
|
|
No problem, Erik. I know how these things happen and appreciate that you offered. Thanks again.
Chris Meech
We're more like a hobbiest in a Home Depot drooling at all the shiny power tools, rather than a craftsman that makes the chair to an exacting level of comfort by measuring the customer's butt. Marc Clifton
VB is like a toolbox, in the hands of a craftsman, you can end up with some amazing stuff, but without the skills to use it right you end up with Homer Simpson's attempt at building a barbeque or his attempt at a Spice rack. Michael P. Butler
|
|
|
|
|
Would it be possible to create some sort of tutorial explaining how to create a license server. Disabling an application because its license has expired would also be nice to see with this.
|
|
|
|
|
This could be fun
|
|
|
|
|
I'd like to see an article on programming for multiple monitors... something I'm seeing more and more of. Personally, I'm a bit stuck trying to do something simple myself. I'd prefer the article be written using the .NET Framework in Managed C++, VB.NET, or C# (don't care). I suppose I could also deal with straight C++ (no MFC please) and I could just bring in the API's I need. I can't seem to figure out how to determine which monitor I'm on, and then also how to pop-up a dialog on the proper monitor.
|
|
|
|
|
Since your window could span several monitors, you need to pick one and center the dialog relative to that one. Check out the MonitorFrom*() APIs; like MonitorFromWindow() will tell you which monitor your window covers the most of, that's a good one to use for dialogs.
--Mike--
Personal stuff:: Ericahist | Homepage
Shareware stuff:: 1ClickPicGrabber | RightClick-Encrypt
CP stuff:: CP SearchBar v2.0.2 | C++ Forum FAQ
"Just because the box has 2 gigabytes of memory doesn't mean you get to use it all!"
-- Rico Mariani, CLR perf guy
|
|
|
|
|
i am pretty comfortable with VB.Net console app's, now, having studied it for almost a year now.
just requesting someone right up a article about intro to console apps, or anything related to them. i couldnt seem to find many online, and im sure theres more that will appreciate it now.
Thanks in advance
------------------------
Jordan.
III
|
|
|
|
|