Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

NEED IT FAST!!  UDP Send/Listen

Posted on 2001-06-13
13
Medium Priority
?
387 Views
Last Modified: 2010-04-06
I need a sample of using a UDP that listen for a pack eg could be a Bitmap,
eg. a application SENDS the file and the other just recieve it.

what i wish to use it for is:

CLIENT - PrintScreen or other hotkey and i send Image/Screen info to the Server.

SERVER - get the image and process it..

i need to do some Image Analyze from a few things and this would be usefull for me to be able to stay in program/game while i can see on server what it found..

i want it using FPIETTE WSocket!

0
Comment
Question by:brainware
[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
  • 6
  • 4
  • 3
13 Comments
 
LVL 2

Expert Comment

by:FrodoBeggins
ID: 6189639
I have such project. Client and Server, the Client sends a command, the server executes it. I use it basicaly for picture exchange, but I've implemented "screen" command for capturing the screen. I can e-mail the project group to you
0
 
LVL 2

Expert Comment

by:FrodoBeggins
ID: 6189649
The screen capture itself works very fast. I use bitblt() API function to get the whole screen and in just a moment i have it in BMP. After that I convert it to JPG for faster delivery (it becomes much smaller than the 2 MB bitmap) and just a second after the command SCREEN the client sees the screen of the server. I have some extras like progressbar and others ;-)
0
 
LVL 2

Author Comment

by:brainware
ID: 6189860
ok.. ill take a look...
Delphi 5 ?? dont have d6..

brainware@cyberjunkie.dk

if you have any good UDP samples for example

Deticated Server
Client

software usage is ok.. but im gonna try use for game later.. but else as Question here was all about the Picture that is what you get this points for!
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 

Expert Comment

by:DelFreak
ID: 6190003
Frodo Beggins, Can you send me the project too. My e-mail address is delfreak@thedoghousemail.com

Thanks!
0
 
LVL 2

Accepted Solution

by:
FrodoBeggins earned 1000 total points
ID: 6190123
You have it :)
Compile the server and the client. Start them somewhere. The server has an edit box for selecting the port. The client has edit boxes for selecting the server address and the port. After that just press "Connect", write any command in the command edit box and press Send. Available commands (case insensitive):
    DUMP - sends back queries dump
    LIST - Sends list of all images at the server's folder
    GET filename - get any file. After you receive it it will be displayed at the imagebox. You can save it with the "Save" button
    SCREEN - get a screenshot
    There is a PING button which starts a thread, in which the Client pings the server. Press it again to stop the thread.

    Remember, it's just a sample. And don't be afrait to bother me with questions :)
0
 
LVL 2

Expert Comment

by:FrodoBeggins
ID: 6190146
Forgot to tell you... You need
Borland Delphi 5
Francois Piette's ICS
0
 
LVL 2

Author Comment

by:brainware
ID: 6193142
you gonna email this project or what???

EMAIL:

 brainware@cyberjunkie.dk
0
 

Expert Comment

by:DelFreak
ID: 6193866
Froddo, I haven't received the project yet.

Send it to delfreak@thedoghousemail.com

Thanks!
0
 

Expert Comment

by:DelFreak
ID: 6193875
Oops! My mistake, I have it already. Thanks!

Now I'll check it out. Hehehe...
0
 
LVL 2

Author Comment

by:brainware
ID: 6193895
sams im not gonna get it tho i freaking asked for it hehe..
0
 
LVL 2

Expert Comment

by:FrodoBeggins
ID: 6194069
Sorry, brainware. I have message delivery failure. I'm trying to send it again....
0
 
LVL 2

Expert Comment

by:FrodoBeggins
ID: 6194156
I just learned my grandfather died that night. So now I'm going home and i will not be connected until monday. (tomorow is the funeral). I don't like to leave something unfinished, but... Brainware, if you don't receive my mail (I've sent it already), please say it here. And you, DelFreak, please forward it if needed. Both you feel free to use/modify the code. I'll be glad if I receive better version (not obligatory).

Be back in Monday
FrodoBeggins
0
 
LVL 2

Author Comment

by:brainware
ID: 6194350
File Recieved! thx..

Sorry about your grandfather..

Regards
 Michael
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Suggested Courses

721 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