Questions tagged [application-layer]
48 questions
1
vote
1 answer
Network example - IP address
I just started to learn about networking and follow the book by Kurose and Ross. They have the following snippets of python code to illustrate the UDP protocol.
The code for the simple client is given by
from socket import *
serverName = ‘hostname’ …

Alex
- 474
- 4
- 12
1
vote
2 answers
How to know the application layer protocol in TCP?
I watched in wireshark that there's no dedicated field to identify the application layer protocol,but how does wireshark do that?

compile-fan
- 16,885
- 22
- 59
- 73
1
vote
1 answer
What application layer protocol is being used when using sockets?
When using web browsers, the application layer protocol being used is HTTP. Whereas I frequently use sockets to create a connection to a server and pass along strings, a frequently used example in Python could be
import socket
clientsocket =…

J.Doe
- 61
- 1
1
vote
2 answers
Changing the output DTO (return value) of the GetAll method in an AsyncCrudAppService
I'm using ABP's AsyncCrudAppService in my AppServices. Here's my interface:
public interface IAssetRequisitionAppService : IAsyncCrudAppService

Emre Can Serteli
- 389
- 1
- 7
- 17
1
vote
1 answer
Responsibility of communicating between aggregates with domain events (DDD)
General question: Who is responsible for handling events included in a single command?
Simplified example
Two aggregates are given: User and Game.
To start a Game with the StartGame-command, both Users have to accept. In terms of my domain-driven…

Luca Nate Mahler
- 1,292
- 2
- 13
- 28
1
vote
0 answers
Real Time API using JSON
I wish to send commands on a web socket to the backend. I was thinking my protocol should look like this:
Send: {cmd: "login", data: {user:"Me",id:99}} Reply: {cmd: "login", data: "OK"}
Send: {cmd: "join sensors", data: {group:1}} Reply: {cmd:…

Baz
- 12,713
- 38
- 145
- 268
1
vote
2 answers
Should An Application Service Be Injected Into A Domain Service
I am working on a WinForms application using Entity Framework 6 with the following layers:
Presentation
Application
Domain
Infrastructure
When a user clicks the save button from the UI, it calls an application service in the Application layer and…

Robertcode
- 911
- 1
- 13
- 26
1
vote
2 answers
Linq To Sql - Making a dynamic search for the Application layer without exposing DAL layer as DLL
Linq to SQL, C#.
I have 3 layers: DAL,BL,Application.
I want to build functions of search in the BL for each table so those functions get as a parameter 'where' expresstion from the Application layer. The advantage in this approach is one function…

Stav Alfi
- 13,139
- 23
- 99
- 171
1
vote
1 answer
What Protocol do Terracotta and Quartz Scheduler Nodes use?
I am using Quartz Scheduler with TerracottaJobStore and I'm trying to figure out which protocol the Scheduler Nodes and Server use to communicate.
To explain it another way, in a web application setup, the Browser (client) communicates with Apache…

Hitesh
- 375
- 6
- 17
0
votes
1 answer
How to create two nodes, each containing three layers (PHY, MAC, APP) in OMNeT++?
How to create two nodes, each containing three layers (PHY, MAC, APP) in OMNeT++? There should be at least two applications at each node. There should also be a wired or wireless connection among these nodes. Please help in defining the layers. I am…
0
votes
1 answer
UDP Broadcast to all nodes
I am trying to solve OMNET++ Ad hoc wireless UDP message to all nodes. My config file is as:
0
votes
2 answers
UDP Broadcast Messages to all nodes in OMNET++
I am using OMNET++ INET for Ad hoc networks.
I want to broadcast my message to all my neighbors in UDP. I have tried all the possible solutions in UDPBasicApp. It broadcasts a message to one node at a time which it chooses randomly if the…
0
votes
1 answer
How to avoid services in DtoMappers layer
Good day, I have a Spring Boot based backend , we are using own library to convert JPA entities to Dto's (library works based on reflection).
The problem is , we inject service layer directly to some mappers. Let's say I have a UserEntity and…

Almas Abdrazak
- 3,209
- 5
- 36
- 80
0
votes
1 answer
Using Postgres' external procedural languages over application code
I am trying to figure out the advantages and disadvantages of using non-plpgsql procedural languages (PL/Python, PL/Perl, PL/v8, etc.) to implement data manipulation logic on the database level instead of going up to model level/ORM of the…

Big Monday
- 590
- 1
- 5
- 15
0
votes
1 answer
How to detect packets using http or other application layer protocols?
I am writing a program which can detects protocols used in network packets. For every packet receives it will try to detect protocols in layers such network and transport. Detecting protocols in these two layer was very easy because somewhere in…

Amir reza Riahi
- 1,540
- 2
- 8
- 34