If I were to work on say an Instant Messenger project, and wrote the gui and event handling using wxWdigets, could I then use the windows API and use winsock to connect the two computers? Basically are API's interchangble in source code?
clutchkiller
3
Junior Poster
Recommended Answers
Jump to PostTry it and find out for yourself.
Jump to Postwell thats not very helpful =(. I am just looking for a simple idea if anyone can give me one. Nothing super in depth
The best way to learn how something works is to try it out yourself and test it on your own computer with your own code. If …
Jump to PostI know this isn't what you are asking but may I suggest you use something a little more portable than winsock. That would be Boost asio. There are good examples of an echo client/server here:
All 10 Replies
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
clutchkiller
3
Junior Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
adam1122
7
Junior Poster
thoughtcoder
167
Junior Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
adam1122
7
Junior Poster
clutchkiller
3
Junior Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.