?
Solved

MSVC Client, Delphi Server.  UDP and TCP Packets

Posted on 2002-04-26
2
Medium Priority
?
265 Views
Last Modified: 2010-04-04
Greetings,

I am looking for some source or package, DLL or not, that is usable with both MSVC and Delphi.

It needs to do the following: UDP multicasting and parse incoming TCP packets and create an event such as onPacket maybe in the form onStreamPacket(Sender, Socket, Header, Buf) or something similiar.  Also maybe onDataGramPacket(Sender, Socket, Header, buf) for the UDP portion.  It needs to do both at the same time.

Basically, we are creating a MMORPG and we are trying to make it as effecient as possible.  We want to use a normal TCP stream for textual information and for secure transmissions.  The UDP packets will be mainly used for the transmission of graphics and world events.

I do know enough about sockets to create my own package in Delphi to do what I want, but it's the porting over to MSVC.

Is there a way to make a component such as TCustomWinsock a DLL that MSVC can load and use?  I don't see much examples anywhere on how to do this stuff.  If someone showed me how to make a simple program which returned a string that had "hello world" in it from a delphi DLL in MSVC, I might be on my way if noone knows a premade package that does it already.

Thanks,
Steve (www.sunderedepoch.com)

PS-If someone wants to go ahead and actually do all the foot work for me and actually make me an example that I can use, letting me know first for details, I am willing to award my full bank of points (currently 800 including this question).  Maybe throw in some other goodies or whatever too.  (I am not rich yet, so I can not give money.  :)
0
Comment
Question by:werehamster-
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 9

Accepted Solution

by:
ITugay earned 1300 total points
ID: 6972923
Hi werehamster-,

may be ActiveX technology can help you.
something like this:
http://www.turbopower.com/products/APAX/

-----
Igor.
0
 
LVL 1

Expert Comment

by:pnh73
ID: 9004169
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Accept answer from ITugay

Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
Paul (pnh73)
EE Cleanup Volunteer
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses
Course of the Month11 days, 11 hours left to enroll

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question